Author: epbernard
Date: 2007-01-25 20:54:51 -0500 (Thu, 25 Jan 2007)
New Revision: 11105
Modified:
branches/Branch_3_2/HibernateExt/metadata/src/java/org/hibernate/reflection/java/xml/EJB3OverridenAnnotationReader.java
Log:
ANN-545 remove deps in test
Modified:
branches/Branch_3_2/HibernateExt/metadata/src/java/org/hibernate/reflection/java/xml/EJB3OverridenAnnotationReader.java
===================================================================
---
branches/Branch_3_2/HibernateExt/metadata/src/java/org/hibernate/reflection/java/xml/EJB3OverridenAnnotationReader.java 2007-01-25
21:57:37 UTC (rev 11104)
+++
branches/Branch_3_2/HibernateExt/metadata/src/java/org/hibernate/reflection/java/xml/EJB3OverridenAnnotationReader.java 2007-01-26
01:54:51 UTC (rev 11105)
@@ -269,8 +269,7 @@
if ( className != null && propertyName == null ) {
//is a class
Element tree = xmlContext.getXMLTree( className, null );
- // FIXME: this variable is never used. why? is this a bug with overriding
that didn't show up yet?
- Annotation[] annotations = getJavaAnnotations();
+ Annotation[] annotations = getJavaAnnotations();
List<Annotation> annotationList = new ArrayList<Annotation>(
annotations.length + 5 );
annotationsMap = new HashMap<Class, Annotation>( annotations.length
+ 5 );
for ( Annotation annotation : annotations ) {
Show replies by date