Removing unused nested classes.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226240 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
01c6c51764
commit
eca25067ad
@ -18,15 +18,13 @@
|
|||||||
|
|
||||||
package javax.xml.datatype;
|
package javax.xml.datatype;
|
||||||
|
|
||||||
|
import java.io.BufferedReader;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileInputStream;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
|
|
||||||
import java.util.Properties;
|
|
||||||
import java.io.BufferedReader;
|
|
||||||
import java.io.InputStreamReader;
|
import java.io.InputStreamReader;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
import java.util.Properties;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Implement pluggabile Datatypes.</p>
|
* <p>Implement pluggabile Datatypes.</p>
|
||||||
@ -384,35 +382,4 @@ class FactoryFinder {
|
|||||||
}
|
}
|
||||||
return "unknown location";
|
return "unknown location";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The following nested classes allow getContextClassLoader() to be
|
|
||||||
* called only on JDK 1.2 and yet run in older JDK 1.1 JVMs
|
|
||||||
*/
|
|
||||||
private abstract static class ClassLoaderFinder {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Get Context Class loader.</p>
|
|
||||||
*
|
|
||||||
* @return Context class loader.
|
|
||||||
*/
|
|
||||||
abstract ClassLoader getContextClassLoader();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Actual ClassLoader finder implementation.</p>
|
|
||||||
*/
|
|
||||||
static class ClassLoaderFinderConcrete extends ClassLoaderFinder {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Get Context Class loader.</p>
|
|
||||||
*
|
|
||||||
* @return Context class loader.
|
|
||||||
*/
|
|
||||||
ClassLoader getContextClassLoader() {
|
|
||||||
return Thread.currentThread().getContextClassLoader();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user