-
Task
-
Resolution: Done
-
Optional
-
7.0.0.Beta1
-
None
-
None
-
NEW
-
NEW
Now that we've moved over to more recent versions of Java, we can start leveraging its features. There are a couple of low hanging fruits we could do by simply using capabilities of the IDE:
- Converting code to use the diamond operator, for less boilerplate.
- Adding @Override. It was shocking for me to find out how often this annotation is not added, making me lose all of its benefits.
- Organizing imports, getting rid of the many unused imports we currently have throughout the codebase.
- Replacing anonymous classes with lambdas where possible, allowing for more easily readable and marginally better performing code.
Alternatively, we could also use the IDE to remove unused methods (of which there is many), but that is not as safe a change as the above are.