geronimo-xbean-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1618243 - in /geronimo/xbean/trunk/xbean-finder/src: main/java/org/apache/xbean/finder/AsynchronousInheritanceAnnotationFinder.java test/java/org/apache/xbean/finder/ClassFinderDepthTest.java
Date Fri, 15 Aug 2014 17:44:56 GMT
Author: rmannibucau
Date: Fri Aug 15 17:44:56 2014
New Revision: 1618243

URL: http://svn.apache.org/r1618243
Log:
XBEAN-273 removing AsynchronousInheritanceAnnotationFinder

Removed:
    geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/AsynchronousInheritanceAnnotationFinder.java
Modified:
    geronimo/xbean/trunk/xbean-finder/src/test/java/org/apache/xbean/finder/ClassFinderDepthTest.java

Modified: geronimo/xbean/trunk/xbean-finder/src/test/java/org/apache/xbean/finder/ClassFinderDepthTest.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-finder/src/test/java/org/apache/xbean/finder/ClassFinderDepthTest.java?rev=1618243&r1=1618242&r2=1618243&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-finder/src/test/java/org/apache/xbean/finder/ClassFinderDepthTest.java
(original)
+++ geronimo/xbean/trunk/xbean-finder/src/test/java/org/apache/xbean/finder/ClassFinderDepthTest.java
Fri Aug 15 17:44:56 2014
@@ -61,10 +61,9 @@ public class ClassFinderDepthTest extend
     }
 
     public void testFindSubclassesIncomplete() throws Exception {
-        for (int i = 0; i < 10; i++) { // try to avoid AsynchronousInheritanceAnnotationFinder
"luck" issues
+        for (int i = 0; i < 10; i++) {
             for (final AnnotationFinder finder : new AnnotationFinder[] {
-                new AnnotationFinder(new ClassesArchive(Crimson.class, Square.class)).link(),
-                new AsynchronousInheritanceAnnotationFinder(new ClassesArchive(Crimson.class,
Square.class)).link()
+                new AnnotationFinder(new ClassesArchive(Crimson.class, Square.class)).link()
             }) {
 
                 assertSubclasses(finder, Color.class, Red.class, Crimson.class);
@@ -81,8 +80,7 @@ public class ClassFinderDepthTest extend
         for (int i = 0; i < 10; i++) {
                 final ClassesArchive archive = new ClassesArchive(TargetImpl.class);
                 for (final AnnotationFinder finder : new AnnotationFinder[] {
-                            new AnnotationFinder(archive),
-                            new AsynchronousInheritanceAnnotationFinder(archive)
+                            new AnnotationFinder(archive)
                                 }) {
                         assertEquals(Collections.singletonList(TargetImpl.class), finder.findAnnotatedClasses(Deprecated.class));
                         finder.link();
@@ -92,10 +90,9 @@ public class ClassFinderDepthTest extend
     }
 
     public void testFindImplementations() throws Exception {
-        for (int i = 0; i < 10; i++) { // try to avoid AsynchronousInheritanceAnnotationFinder
"luck" issues
+        for (int i = 0; i < 10; i++) { 
             for (final AnnotationFinder finder : new AnnotationFinder[] {
-                new AnnotationFinder(new ClassesArchive(Crimson.class, Square.class)).link(),
-                new AsynchronousInheritanceAnnotationFinder(new ClassesArchive(Crimson.class,
Square.class)).link()
+                new AnnotationFinder(new ClassesArchive(Crimson.class, Square.class)).link()
             }) {
 
                 assertImplementations(finder, HSB.class, Color.class, Red.class, Crimson.class);



Mime
View raw message