Author: simonetripodi
Date: Thu Aug 11 20:10:10 2011
New Revision: 1156797

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

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

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


Reply via email to