commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1156796 - /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/GenerateUntil.java
Date Thu, 11 Aug 2011 20:09:21 GMT
Author: simonetripodi
Date: Thu Aug 11 20:09:21 2011
New Revision: 1156796

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

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

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



Mime
View raw message