Author: epbernard
Date: 2009-04-23 10:51:55 -0400 (Thu, 23 Apr 2009)
New Revision: 16424
Modified:
core/trunk/commons-annotations/src/main/java/org/hibernate/annotations/common/reflection/java/JavaReflectionManager.java
core/trunk/commons-annotations/src/main/java/org/hibernate/annotations/common/util/ReflectHelper.java
Log:
Un deprecate reflect helper in commons-annotations and use it in commons annotations code
Modified:
core/trunk/commons-annotations/src/main/java/org/hibernate/annotations/common/reflection/java/JavaReflectionManager.java
===================================================================
---
core/trunk/commons-annotations/src/main/java/org/hibernate/annotations/common/reflection/java/JavaReflectionManager.java 2009-04-23
14:51:05 UTC (rev 16423)
+++
core/trunk/commons-annotations/src/main/java/org/hibernate/annotations/common/reflection/java/JavaReflectionManager.java 2009-04-23
14:51:55 UTC (rev 16424)
@@ -44,8 +44,8 @@
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.
Modified:
core/trunk/commons-annotations/src/main/java/org/hibernate/annotations/common/util/ReflectHelper.java
===================================================================
---
core/trunk/commons-annotations/src/main/java/org/hibernate/annotations/common/util/ReflectHelper.java 2009-04-23
14:51:05 UTC (rev 16423)
+++
core/trunk/commons-annotations/src/main/java/org/hibernate/annotations/common/util/ReflectHelper.java 2009-04-23
14:51:55 UTC (rev 16424)
@@ -30,7 +30,6 @@
* 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 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 {
Show replies by date