This commit is contained in:
Andy Wilkinson
2017-09-29 12:04:46 +01:00
parent c27d678b81
commit f01bb8e175

View File

@@ -138,8 +138,8 @@ final class ChangeableUrls implements Iterable<URL> {
return Collections.emptyList();
}
String[] entries = StringUtils.delimitedListToStringArray(classPath, " ");
List<URL> urls = new ArrayList<>(entries.length);
List<URL> nonExistentEntries = new ArrayList<>();
List<URL> urls = new ArrayList<URL>(entries.length);
List<URL> nonExistentEntries = new ArrayList<URL>();
for (String entry : entries) {
try {
URL referenced = new URL(jarUrl, entry);