Delete unused imports and dead code in CGLIB fork
This commit is contained in:
parent
fda3f8201a
commit
f732fab820
|
@ -15,11 +15,7 @@
|
|||
*/
|
||||
package org.springframework.cglib.beans;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.Method;
|
||||
import java.lang.reflect.Modifier;
|
||||
import java.security.ProtectionDomain;
|
||||
import java.util.*;
|
||||
import org.springframework.cglib.core.*;
|
||||
import org.springframework.asm.ClassVisitor;
|
||||
|
||||
|
|
|
@ -15,10 +15,8 @@
|
|||
*/
|
||||
package org.springframework.cglib.beans;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.Method;
|
||||
import java.lang.reflect.Modifier;
|
||||
import java.util.*;
|
||||
import org.springframework.cglib.core.*;
|
||||
import org.springframework.asm.ClassVisitor;
|
||||
import org.springframework.asm.Type;
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
*/
|
||||
package org.springframework.cglib.beans;
|
||||
|
||||
import org.springframework.cglib.core.CodeGenerationException;
|
||||
|
||||
@SuppressWarnings({"rawtypes", "unchecked", "serial"})
|
||||
public class BulkBeanException extends RuntimeException
|
||||
{
|
||||
|
|
|
@ -38,7 +38,6 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.springframework.asm.Attribute;
|
||||
import org.springframework.asm.Type;
|
||||
|
||||
/**
|
||||
|
@ -626,10 +625,6 @@ public class ReflectUtils {
|
|||
public Type[] getExceptionTypes() {
|
||||
return ReflectUtils.getExceptionTypes(member);
|
||||
}
|
||||
|
||||
public Attribute getAttribute() {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1247,7 +1247,6 @@ public class Enhancer extends AbstractClassGenerator {
|
|||
se.invoke_constructor(THREAD_LOCAL, CSTRUCT_NULL);
|
||||
se.putfield(THREAD_CALLBACKS_FIELD);
|
||||
|
||||
final Object[] state = new Object[1];
|
||||
CallbackGenerator.Context context = new CallbackGenerator.Context() {
|
||||
public ClassLoader getClassLoader() {
|
||||
return Enhancer.this.getClassLoader();
|
||||
|
|
Loading…
Reference in New Issue