maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1173679 - /maven/wagon/trunk/wagon-provider-test/src/main/java/org/apache/maven/wagon/WagonTestCase.java
Date Wed, 21 Sep 2011 14:32:35 GMT
Author: olamy
Date: Wed Sep 21 14:32:35 2011
New Revision: 1173679

URL: http://svn.apache.org/viewvc?rev=1173679&view=rev
Log:
simplify expression

Modified:
    maven/wagon/trunk/wagon-provider-test/src/main/java/org/apache/maven/wagon/WagonTestCase.java

Modified: maven/wagon/trunk/wagon-provider-test/src/main/java/org/apache/maven/wagon/WagonTestCase.java
URL: http://svn.apache.org/viewvc/maven/wagon/trunk/wagon-provider-test/src/main/java/org/apache/maven/wagon/WagonTestCase.java?rev=1173679&r1=1173678&r2=1173679&view=diff
==============================================================================
--- maven/wagon/trunk/wagon-provider-test/src/main/java/org/apache/maven/wagon/WagonTestCase.java
(original)
+++ maven/wagon/trunk/wagon-provider-test/src/main/java/org/apache/maven/wagon/WagonTestCase.java
Wed Sep 21 14:32:35 2011
@@ -317,7 +317,7 @@ public abstract class WagonTestCase
                                          int expectedSize )
         throws IOException
     {
-        if ( expectedResult == true )
+        if ( expectedResult )
         {
             verifyMock( progressArgumentMatcher, expectedSize );
 
@@ -357,7 +357,7 @@ public abstract class WagonTestCase
         destFile.deleteOnExit();
 
         ProgressArgumentMatcher progressArgumentMatcher = null;
-        if ( expectedResult == true )
+        if ( expectedResult )
         {
             progressArgumentMatcher = replaceMockForGet( wagon, expectedSize );
         }



Mime
View raw message