We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java 19 introduced new static methods for creating maps and sets so that this (using Maps from Guava)
Maps
Map<String, String> map = Maps.newLinkedHashMapWithExpectedSize(numMappings);
can be replaced with
Map<String, String> map = LinkedHashMap.newLinkedHashMap(numMappings);
and similar for HashMap, HashSet, etc.
There's probably some similar Apache Commons methods that can be replaced as well.
The text was updated successfully, but these errors were encountered:
a553adf
No branches or pull requests
Java 19 introduced new static methods for creating maps and sets so that this (using
Maps
from Guava)can be replaced with
and similar for HashMap, HashSet, etc.
There's probably some similar Apache Commons methods that can be replaced as well.
The text was updated successfully, but these errors were encountered: