Author: simonetripodi Date: Wed Sep 7 19:23:00 2011 New Revision: 1166324 URL: http://svn.apache.org/viewvc?rev=1166324&view=rev Log: fixed checkstyle violations: Method 'XXX' 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/algorithm/RecursiveEvaluation.java Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RecursiveEvaluation.java URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RecursiveEvaluation.java?rev=1166324&r1=1166323&r2=1166324&view=diff ============================================================================== --- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RecursiveEvaluation.java (original) +++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RecursiveEvaluation.java Wed Sep 7 19:23:00 2011 @@ -62,7 +62,7 @@ public class RecursiveEvaluation impleme /** * {@inheritDoc} */ - public Object evaluate() { + public final Object evaluate() { Object result = null; // if the function returns another function, execute it. stop executing // when the result is not of the expected type. @@ -81,7 +81,7 @@ public class RecursiveEvaluation impleme /** * {@inheritDoc} */ - public boolean equals(Object obj) { + public final boolean equals(Object obj) { if (obj == this) { return true; } @@ -94,7 +94,7 @@ public class RecursiveEvaluation impleme /** * {@inheritDoc} */ - public int hashCode() { + public final int hashCode() { return "RecursiveEvaluation".hashCode() << 2 ^ function.hashCode(); }