jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1221472 - /jmeter/trunk/test/src/org/apache/jmeter/resources/PackageTest.java
Date Tue, 20 Dec 2011 20:17:33 GMT
Author: sebb
Date: Tue Dec 20 20:17:32 2011
New Revision: 1221472

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

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=1221472&r1=1221471&r2=1221472&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/resources/PackageTest.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/resources/PackageTest.java Tue Dec 20 20:17:32
2011
@@ -345,7 +345,7 @@ public class PackageTest extends TestCas
 		if(inputStream == null) {
 			Map<String, String> messagesAsProperties = new HashMap<String, String>();
 			for (Iterator<Map.Entry<Object, Object>> iterator = messages.entrySet().iterator();
iterator.hasNext();) {
-				Map.Entry<Object, Object> entry = (Map.Entry<Object, Object>) iterator.next();
+				Map.Entry<Object, Object> entry = iterator.next();
 				messagesAsProperties.put((String) entry.getKey(), (String) entry.getValue()); 
 			}
 			missingLabelsPerBundle.put(languageBundle, messagesAsProperties);



Mime
View raw message