Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/handler/ContextHandler.java @ 830:7c737c376bc3
remove Loader
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 15 Sep 2016 18:30:38 -0600 |
parents | 8579194add85 |
children | 83765eb09bef |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/handler/ContextHandler.java Thu Sep 15 18:16:25 2016 -0600 +++ b/src/org/eclipse/jetty/server/handler/ContextHandler.java Thu Sep 15 18:30:38 2016 -0600 @@ -72,7 +72,6 @@ import org.eclipse.jetty.util.Attributes; import org.eclipse.jetty.util.AttributesMap; import org.eclipse.jetty.util.LazyList; -import org.eclipse.jetty.util.Loader; import org.eclipse.jetty.util.StringUtil; import org.eclipse.jetty.util.TypeUtil; import org.eclipse.jetty.util.URIUtil; @@ -1516,18 +1515,6 @@ } /* ------------------------------------------------------------ */ - public synchronized Class<?> loadClass(String className) throws ClassNotFoundException - { - if (className == null) - return null; - - if (_classLoader == null) - return Loader.loadClass(this.getClass(),className); - - return _classLoader.loadClass(className); - } - - /* ------------------------------------------------------------ */ public void addLocaleEncoding(String locale, String encoding) { if (_localeEncodingMap == null)