Cleanup (obsolete API deprecated)

This commit is contained in:
Roman Shevchenko
2014-11-27 13:57:11 +01:00
parent 552198fb47
commit 599ec05cac
2 changed files with 4 additions and 2 deletions
@@ -58,7 +58,7 @@ public class ClassPath {
push(urls);
}
// Accessed by reflection from PluginClassLoader // TODO: do we need it?
/** @deprecated to be removed in IDEA 15 */
void addURL(URL url) {
push(Collections.singletonList(url));
}
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2013 JetBrains s.r.o.
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -132,6 +132,8 @@ public class UrlClassLoader extends ClassLoader {
}
}
/** @deprecated to be removed in IDEA 15 */
@SuppressWarnings({"unused", "deprecation"})
public void addURL(URL url) {
myClassPath.addURL(url);
myURLs.add(url);