diff --git a/byte-buddy-maven-plugin/src/main/java/net/bytebuddy/build/maven/ByteBuddyMojo.java b/byte-buddy-maven-plugin/src/main/java/net/bytebuddy/build/maven/ByteBuddyMojo.java index 8cf847cef3..c9bec821b1 100644 --- a/byte-buddy-maven-plugin/src/main/java/net/bytebuddy/build/maven/ByteBuddyMojo.java +++ b/byte-buddy-maven-plugin/src/main/java/net/bytebuddy/build/maven/ByteBuddyMojo.java @@ -266,7 +266,7 @@ public void execute() throws MojoExecutionException, MojoFailureException { } } if (classPathDiscovery) { - List urls = new ArrayList<>(elements.size()); + List urls = new ArrayList(elements.size()); for (String element : elements) { urls.add(new File(element).toURI().toURL()); }