commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1156783 - /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java
Date Thu, 11 Aug 2011 20:00:56 GMT
Author: simonetripodi
Date: Thu Aug 11 20:00:56 2011
New Revision: 1156783

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

Modified:
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java?rev=1156783&r1=1156782&r2=1156783&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java
Thu Aug 11 20:00:56 2011
@@ -115,7 +115,7 @@ public final class FindWithinGenerator<E
         if (obj == this) {
             return true;
         }
-        if (obj instanceof FindWithinGenerator<?> == false) {
+        if (!(obj instanceof FindWithinGenerator<?>)) {
             return false;
         }
         FindWithinGenerator<?> other = (FindWithinGenerator<?>) obj;



Mime
View raw message