commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1156801 - /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/UntilGenerate.java
Date Thu, 11 Aug 2011 20:12:45 GMT
Author: simonetripodi
Date: Thu Aug 11 20:12:44 2011
New Revision: 1156801

URL: http://svn.apache.org/viewvc?rev=1156801&view=rev
Log:
fixed checkstyle violations: Expression can be simplified

Modified:
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/UntilGenerate.java

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/UntilGenerate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/UntilGenerate.java?rev=1156801&r1=1156800&r2=1156801&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/UntilGenerate.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/UntilGenerate.java
Thu Aug 11 20:12:44 2011
@@ -75,7 +75,7 @@ public class UntilGenerate<E> extends Ba
         if (obj == this) {
             return true;
         }
-        if (obj instanceof UntilGenerate<?> == false) {
+        if (!(obj instanceof UntilGenerate<?>)) {
             return false;
         }
         UntilGenerate<?> other = (UntilGenerate<?>) obj;



Mime
View raw message