mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-11-28 02:11:31 +08:00
[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:
committed by
Peter Palaga
parent
15d622e185
commit
685ca13bff
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user