Skip to content

Commit

Permalink
Avoid diamond operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Sep 25, 2024
1 parent 69edb89 commit 40707d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
}
}
if (classPathDiscovery) {
List<URL> urls = new ArrayList<>(elements.size());
List<URL> urls = new ArrayList<URL>(elements.size());
for (String element : elements) {
urls.add(new File(element).toURI().toURL());
}
Expand Down

0 comments on commit 40707d8

Please sign in to comment.