maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dfabul...@apache.org
Subject svn commit: r606987 - /maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java
Date Thu, 27 Dec 2007 01:11:06 GMT
Author: dfabulich
Date: Wed Dec 26 17:11:05 2007
New Revision: 606987

URL: http://svn.apache.org/viewvc?rev=606987&view=rev
Log:
Fix TestNG JDK 1.4 compatibility (last minute testing)

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

Modified: maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java?rev=606987&r1=606986&r2=606987&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java
(original)
+++ maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java
Wed Dec 26 17:11:05 2007
@@ -22,7 +22,6 @@
 import java.io.File;
 import java.lang.reflect.Constructor;
 import java.util.ArrayList;
-import java.util.Collections;
 import java.util.List;
 import java.util.Map;
 
@@ -153,7 +152,7 @@
     private static List loadListenerClasses(String listenerClasses) throws TestSetFailedException
     {
         if (listenerClasses == null || "".equals(listenerClasses.trim())) {
-            return Collections.emptyList();
+            return new ArrayList();
         }
         
         List classes = new ArrayList();



Mime
View raw message