commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1156794 - /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java
Date Thu, 11 Aug 2011 20:07:38 GMT
Author: simonetripodi
Date: Thu Aug 11 20:07:37 2011
New Revision: 1156794

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

Modified:
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java?rev=1156794&r1=1156793&r2=1156794&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java
Thu Aug 11 20:07:37 2011
@@ -54,7 +54,7 @@ public abstract class AbstractLoopProced
         if (object == this) {
             return true;
         }
-        if (object instanceof AbstractLoopProcedure == false) {
+        if (!(object instanceof AbstractLoopProcedure)) {
             return false;
         }
         AbstractLoopProcedure that = (AbstractLoopProcedure) object;



Mime
View raw message