Skip to content
/ highj17 Public

Copy of highJ adapted to use Java 17 without derive4j dependency

License

Notifications You must be signed in to change notification settings

highj/highj17

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

highj17

This is a copy of highJ adapted to use Java 17 and to take advantage of the new possibilities.

As I run in problems with derive4j, I dropped the dependency and use no more annotation-processor in the project. When these problems are solved, it might be easier to maintain a Java 17 branch in the original project, but at the moment it isn't clear which way to go.

Changes

  • Take advantage of better type inference (e.g. drop some now unnecessary generic details)
  • Use record syntax, if this doesn't compromise encapsulation
  • Use switch expressions
  • Use instanceof with cast
  • Use var when it improves readability
  • Use Java API improvements (e.g. for Collections, String)

About

Copy of highJ adapted to use Java 17 without derive4j dependency

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages