commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1170796 - /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java
Date Wed, 14 Sep 2011 19:30:49 GMT
Author: simonetripodi
Date: Wed Sep 14 19:30:48 2011
New Revision: 1170796

URL: http://svn.apache.org/viewvc?rev=1170796&view=rev
Log:
fixed checkstyle violation: Method 'equals' is not designed for extension - needs to be abstract,
final or empty

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

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java?rev=1170796&r1=1170795&r2=1170796&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java
Wed Sep 14 19:30:48 2011
@@ -97,7 +97,7 @@ public class TransformedBinaryFunction<L
      * @param that instance to test
      * @return whether equal
      */
-    public boolean equals(TransformedBinaryFunction<?, ?, ?> that) {
+    public final boolean equals(TransformedBinaryFunction<?, ?, ?> that) {
         return that != null && that.helper.preceding.equals(this.helper.preceding)
                 && that.helper.following.equals(this.helper.following);
     }



Mime
View raw message