[MNG-6847] Use diamond operator

Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/SEvWu02zw?organizationId=QXBhY2hlIE1hdmVu

Co-authored-by: Moderne <team@moderne.io>
This commit is contained in:
Tim te Beek
2023-09-25 21:35:04 +00:00
committed by Peter Palaga
parent 15d622e185
commit 685ca13bff
3 changed files with 3 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ public class DocMojo extends AbstractMojo {
@Override
public synchronized Enumeration<Object> keys() {
final Iterator<Object> it = new TreeSet<>(keySet()).iterator();
return new Enumeration<Object>() {
return new Enumeration<>() {
public boolean hasMoreElements() {
return it.hasNext();
}