mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
dup urls
This commit is contained in:
+4
-4
@@ -22,8 +22,8 @@ import java.io.IOException;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.net.URLClassLoader;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Collection;
|
||||
import java.util.LinkedHashSet;
|
||||
|
||||
/**
|
||||
* @author max
|
||||
@@ -34,8 +34,8 @@ public class ExternalClasspathClassLoader extends URLClassLoader {
|
||||
}
|
||||
|
||||
private static String[] parseUrls(String classpathFilePath) {
|
||||
final List<String> roots = new ArrayList<String>();
|
||||
final File file = new File(classpathFilePath);
|
||||
Collection<String> roots = new LinkedHashSet<String>();
|
||||
File file = new File(classpathFilePath);
|
||||
try {
|
||||
final BufferedReader reader = new BufferedReader(new FileReader(file));
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user