Author: fgiust
Date: Mon Sep  4 13:17:58 2006
New Revision: 440166

URL: http://svn.apache.org/viewvc?view=rev&rev=440166
Log:
remove dead code

Modified:
    
maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGDirectoryTestSuite.java

Modified: 
maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGDirectoryTestSuite.java
URL: 
http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGDirectoryTestSuite.java?view=diff&rev=440166&r1=440165&r2=440166
==============================================================================
--- 
maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGDirectoryTestSuite.java
 (original)
+++ 
maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGDirectoryTestSuite.java
 Mon Sep  4 13:17:58 2006
@@ -54,12 +54,9 @@
 
     private String testSourceDirectory;
 
-    private IAnnotationFinder annotationFinder;
-
     public TestNGDirectoryTestSuite( File basedir, ArrayList includes, 
ArrayList excludes, String groups,
                                      String excludedGroups, Boolean parallel, 
Integer threadCount,
                                      String testSourceDirectory )
-        throws IllegalAccessException, InstantiationException, 
ClassNotFoundException
     {
         super( basedir, includes, excludes );
 
@@ -73,17 +70,6 @@
 
         this.testSourceDirectory = testSourceDirectory;
 
-        Class annotationClass;
-        try
-        {
-            annotationClass = Class.forName( 
"org.testng.internal.annotations.JDK15AnnotationFinder" );
-        }
-        catch ( ClassNotFoundException e )
-        {
-            annotationClass = Class.forName( 
"org.testng.internal.annotations.JDK14AnnotationFinder" );
-        }
-
-        annotationFinder = (IAnnotationFinder) annotationClass.newInstance();
     }
 
     public Map locateTestSets( ClassLoader classLoader )


Reply via email to