diff --git a/src/main/java/org/jboss/netty/handler/codec/serialization/ClassloaderClassResolver.java b/src/main/java/org/jboss/netty/handler/codec/serialization/ClassloaderClassResolver.java deleted file mode 100644 index 6c73c81557..0000000000 --- a/src/main/java/org/jboss/netty/handler/codec/serialization/ClassloaderClassResolver.java +++ /dev/null @@ -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); - } - } - -}