mirror of https://github.com/apache/lucene.git
SOLR-8302: Remove deprecated methods in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715345 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ef498a2ce7
commit
3fdbc588a9
|
@ -133,24 +133,10 @@ public class SolrResourceLoader implements ResourceLoader,Closeable
|
|||
this(instanceDir, parent, null);
|
||||
}
|
||||
|
||||
/** Use {@link #SolrResourceLoader(Path, ClassLoader)} */
|
||||
@Deprecated
|
||||
public SolrResourceLoader(String instanceDir, ClassLoader parent) {
|
||||
this(Paths.get(instanceDir), parent);
|
||||
}
|
||||
|
||||
public SolrResourceLoader(Path instanceDir) {
|
||||
this(instanceDir, null, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Use {@link #SolrResourceLoader(Path)}
|
||||
*/
|
||||
@Deprecated
|
||||
public SolrResourceLoader(String instanceDir) {
|
||||
this(Paths.get(instanceDir));
|
||||
}
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* This loader will delegate to the context classloader when possible,
|
||||
|
@ -194,14 +180,6 @@ public class SolrResourceLoader implements ResourceLoader,Closeable
|
|||
this.coreProperties = coreProperties;
|
||||
}
|
||||
|
||||
/**
|
||||
* Use {@link #SolrResourceLoader(Path, ClassLoader, Properties)}
|
||||
*/
|
||||
@Deprecated
|
||||
public SolrResourceLoader(String instanceDir, ClassLoader parent, Properties properties) {
|
||||
this(Paths.get(instanceDir), parent, properties);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds URLs to the ResourceLoader's internal classloader. This method <b>MUST</b>
|
||||
* only be called prior to using this ResourceLoader to get any resources, otherwise
|
||||
|
@ -797,12 +775,6 @@ public class SolrResourceLoader implements ResourceLoader,Closeable
|
|||
public Path getInstancePath() {
|
||||
return instanceDir;
|
||||
}
|
||||
|
||||
/** Use {@link #getInstancePath()} */
|
||||
@Deprecated
|
||||
public String getInstanceDir() {
|
||||
return instanceDir.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Keep a list of classes that are allowed to implement each 'Aware' interface
|
||||
|
|
Loading…
Reference in New Issue