commons-commits mailing list archives

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

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

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedProcedure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedProcedure.java?rev=1170816&r1=1170815&r2=1170816&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedProcedure.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedProcedure.java
Wed Sep 14 19:54:15 2011
@@ -96,7 +96,7 @@ public class TransformedProcedure implem
      * @param that instance to test
      * @return whether equal
      */
-    public boolean equals(TransformedProcedure that) {
+    public final boolean equals(TransformedProcedure that) {
         return that != null && that.helper.function.equals(this.helper.function)
                 && that.helper.procedure.equals(this.helper.procedure);
     }



Mime
View raw message