commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1170797&view=rev
Log:
fixed checkstyle violation: Method 'hashCode' 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=1170797&r1=1170796&r2=1170797&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:31:14 2011
@@ -106,7 +106,7 @@ public class TransformedBinaryFunction<L
      * {@inheritDoc}
      */
     @Override
-    public int hashCode() {
+    public final int hashCode() {
         int result = "TransformedBinaryFunction".hashCode();
         result <<= 2;
         result |= helper.following.hashCode();



Mime
View raw message