Un deprecate reflect helper in commons-annotations and use it in commons annotations code
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16424 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
339ec18771
commit
96e77b4b54
|
@ -44,8 +44,8 @@ import org.hibernate.annotations.common.reflection.java.generics.TypeEnvironment
|
|||
import org.hibernate.annotations.common.reflection.java.generics.TypeEnvironmentFactory;
|
||||
import org.hibernate.annotations.common.reflection.java.generics.TypeSwitch;
|
||||
import org.hibernate.annotations.common.reflection.java.generics.TypeUtils;
|
||||
import org.hibernate.util.ReflectHelper;
|
||||
import org.hibernate.annotations.common.Version;
|
||||
import org.hibernate.annotations.common.util.ReflectHelper;
|
||||
|
||||
/**
|
||||
* The factory for all the objects in this package.
|
||||
|
|
|
@ -30,7 +30,6 @@ import java.lang.reflect.Member;
|
|||
* Complete duplication of {@link org.hibernate.util.ReflectHelper}.
|
||||
*
|
||||
* @author Emmanuel Bernard
|
||||
* @deprecated Use {@link org.hibernate.util.ReflectHelper} instead.
|
||||
*/
|
||||
public final class ReflectHelper {
|
||||
public static boolean overridesEquals(Class clazz) {
|
||||
|
@ -42,7 +41,7 @@ public final class ReflectHelper {
|
|||
}
|
||||
|
||||
public static Class classForName(String name) throws ClassNotFoundException {
|
||||
return org.hibernate.util.ReflectHelper.classForName( name );
|
||||
return ReflectHelper.classForName( name );
|
||||
}
|
||||
|
||||
public static Class classForName(String name, Class caller) throws ClassNotFoundException {
|
||||
|
|
Loading…
Reference in New Issue