Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Type inference for generic instance creation (#2100)
* Type inference for generic instance creation: Replacing redundant code `<T>` with` <>` for inferred type This feature was added in Java 7 back in 2011 (!). The` pom.xml` explicitly specifies Java 7 so this does not break anything. * Removing unused method parameter for private helper method `GenericObjectPoolConfig poolConfig` is passed to the method but never used * Declaring modifiers in recommended order (`static final)` 6fada2e References: [Oracle docs](https://docs.oracle.com/javase/8/docs/technotes/guides/language/type-inference-generic-instance-creation.html) * Removing assignment to unused local variable
- Loading branch information
Showing
14 changed files
with
63 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.