commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcucchi...@apache.org
Subject svn commit: r1188791 - /commons/proper/ognl/trunk/src/test/java/org/apache/commons/ognl/test/objects/Bean2.java
Date Tue, 25 Oct 2011 17:03:22 GMT
Author: mcucchiara
Date: Tue Oct 25 17:03:22 2011
New Revision: 1188791

URL: http://svn.apache.org/viewvc?rev=1188791&view=rev
Log:
Small simplification

Modified:
    commons/proper/ognl/trunk/src/test/java/org/apache/commons/ognl/test/objects/Bean2.java

Modified: commons/proper/ognl/trunk/src/test/java/org/apache/commons/ognl/test/objects/Bean2.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/test/java/org/apache/commons/ognl/test/objects/Bean2.java?rev=1188791&r1=1188790&r2=1188791&view=diff
==============================================================================
--- commons/proper/ognl/trunk/src/test/java/org/apache/commons/ognl/test/objects/Bean2.java
(original)
+++ commons/proper/ognl/trunk/src/test/java/org/apache/commons/ognl/test/objects/Bean2.java
Tue Oct 25 17:03:22 2011
@@ -69,10 +69,8 @@ public class Bean2
 
         Bean2 bean2 = (Bean2) o;
 
-        if ( _pageBreakAfter != bean2._pageBreakAfter )
-            return false;
+        return _pageBreakAfter == bean2._pageBreakAfter;
 
-        return true;
     }
 
     public int hashCode()



Mime
View raw message