mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (obsolete API deprecated)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user