Fix weird repo mess

This commit is contained in:
Trustin Lee 2011-11-24 10:18:31 +09:00
parent b6f8b5871c
commit 8debdb59e4

View File

@ -1,20 +0,0 @@
package org.jboss.netty.handler.codec.serialization;
class ClassLoaderClassResolver implements ClassResolver {
private final ClassLoader classLoader;
ClassLoaderClassResolver(ClassLoader classLoader) {
this.classLoader = classLoader;
}
@Override
public Class<?> resolve(String className) throws ClassNotFoundException {
try {
return classLoader.loadClass(className);
} catch (ClassNotFoundException e) {
return Class.forName(className, false, classLoader);
}
}
}