mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Remove useless URL instanciation
This commit is contained in:
parent
55101edb46
commit
bb219eff8d
@ -491,7 +491,6 @@ public class PluginManager {
|
||||
|
||||
private static void addUrl(List<URL> urls, String url) {
|
||||
try {
|
||||
URL _url = new URL(url);
|
||||
urls.add(new URL(url));
|
||||
} catch (MalformedURLException e) {
|
||||
// We simply ignore malformed URL
|
||||
|
Loading…
x
Reference in New Issue
Block a user