tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1292153 - /openejb/trunk/maven-plugins/xbean-xml/src/main/java/org/apache/openejb/xbean/xml/XMLAnnotationFinderHelper.java
Date Wed, 22 Feb 2012 07:17:56 GMT
Author: rmannibucau
Date: Wed Feb 22 07:17:55 2012
New Revision: 1292153

URL: http://svn.apache.org/viewvc?rev=1292153&view=rev
Log:
since we return an IAnnotationFinder we have to link in the helper method

Modified:
    openejb/trunk/maven-plugins/xbean-xml/src/main/java/org/apache/openejb/xbean/xml/XMLAnnotationFinderHelper.java

Modified: openejb/trunk/maven-plugins/xbean-xml/src/main/java/org/apache/openejb/xbean/xml/XMLAnnotationFinderHelper.java
URL: http://svn.apache.org/viewvc/openejb/trunk/maven-plugins/xbean-xml/src/main/java/org/apache/openejb/xbean/xml/XMLAnnotationFinderHelper.java?rev=1292153&r1=1292152&r2=1292153&view=diff
==============================================================================
--- openejb/trunk/maven-plugins/xbean-xml/src/main/java/org/apache/openejb/xbean/xml/XMLAnnotationFinderHelper.java
(original)
+++ openejb/trunk/maven-plugins/xbean-xml/src/main/java/org/apache/openejb/xbean/xml/XMLAnnotationFinderHelper.java
Wed Feb 22 07:17:55 2012
@@ -49,7 +49,7 @@ public final class XMLAnnotationFinderHe
         } else {
             archive = classesArchive;
         }
-        return new AnnotationFinder(archive); // don't link here
+        return new AnnotationFinder(archive).link();
     }
 
     public static IAnnotationFinder finderFromXml(final InputStream is, final ClassLoader
loader, final Iterable<URL> urls) throws JAXBException {



Mime
View raw message