commons-commits mailing list archives

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

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

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

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



Mime
View raw message