jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1212847 - /jmeter/trunk/test/src/org/apache/jmeter/resources/PackageTest.java
Date Sat, 10 Dec 2011 19:10:38 GMT
Author: sebb
Date: Sat Dec 10 19:10:38 2011
New Revision: 1212847

URL: http://svn.apache.org/viewvc?rev=1212847&view=rev
Log:
Unnecessary cast; Javadoc

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/resources/PackageTest.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/resources/PackageTest.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/resources/PackageTest.java?rev=1212847&r1=1212846&r2=1212847&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/resources/PackageTest.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/resources/PackageTest.java Sat Dec 10 19:10:38
2011
@@ -226,7 +226,7 @@ public class PackageTest extends TestCas
     /**
      * Find I18N resources in classpath
      * @param srcFiledir
-     * @return
+     * @return list of properties files subject to I18N
      */
     public static final String[] getResources(File srcFiledir) {
     	Set<String> set = new TreeSet<String>();
@@ -239,7 +239,7 @@ public class PackageTest extends TestCas
 								&& !name.matches("Example\\d+Resources\\.properties")));
 			}
 		});
-		return (String[]) set.toArray(new String[set.size()]);
+		return set.toArray(new String[set.size()]);
 	}
     
     /**



Mime
View raw message