commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1156805 - /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/util/LongRange.java
Date Thu, 11 Aug 2011 20:15:36 GMT
Author: simonetripodi
Date: Thu Aug 11 20:15:35 2011
New Revision: 1156805

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

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

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/util/LongRange.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/util/LongRange.java?rev=1156805&r1=1156804&r2=1156805&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/util/LongRange.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/util/LongRange.java
Thu Aug 11 20:15:35 2011
@@ -109,7 +109,7 @@ public final class LongRange extends Bas
         if (obj == this) {
             return true;
         }
-        if (obj instanceof LongRange == false) {
+        if (!(obj instanceof LongRange)) {
             return false;
         }
         LongRange that = (LongRange) obj;



Mime
View raw message