You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/09/14 21:30:49 UTC

svn commit: r1170796 - /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java

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);
     }