Skip to content
New issue

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

Use diamond operator when creating generic instances #2104

Merged

Conversation

Marcono1234
Copy link
Collaborator

Uses the diamond operator <> to create generic instances to make the code a bit easier to read.
This is possible since the minimum Java version was increased to Java 7.

@eamonnmcmanus eamonnmcmanus merged commit 4dda4ec into google:master Apr 17, 2022
@Marcono1234 Marcono1234 deleted the marcono1234/diamond-operator branch April 18, 2022 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants