commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1157888 - /commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/changes/ChangeSetTestCase.java
Date Mon, 15 Aug 2011 15:27:41 GMT
Author: sebb
Date: Mon Aug 15 15:27:40 2011
New Revision: 1157888

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

Modified:
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/changes/ChangeSetTestCase.java

Modified: commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/changes/ChangeSetTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/changes/ChangeSetTestCase.java?rev=1157888&r1=1157887&r2=1157888&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/changes/ChangeSetTestCase.java
(original)
+++ commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/changes/ChangeSetTestCase.java
Mon Aug 15 15:27:40 2011
@@ -436,7 +436,7 @@ public final class ChangeSetTestCase ext
 
             // Checks
             assertEquals(1,results.getAddedFromChangeSet().size());
-            assertEquals("bla/test.txt",(String)results.getAddedFromChangeSet().iterator().next());
+            assertEquals("bla/test.txt",results.getAddedFromChangeSet().iterator().next());
             assertEquals(3,results.getDeleted().size());
             assertTrue(results.getDeleted().contains("bla/test4.xml"));
             assertTrue(results.getDeleted().contains("bla/test5.xml"));



Mime
View raw message