commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1170810 - /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedFunction.java
Date Wed, 14 Sep 2011 19:44:19 GMT
Author: simonetripodi
Date: Wed Sep 14 19:44:18 2011
New Revision: 1170810

URL: http://svn.apache.org/viewvc?rev=1170810&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/TransformedFunction.java

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



Mime
View raw message