commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1166358 - /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java
Date Wed, 07 Sep 2011 19:58:47 GMT
Author: simonetripodi
Date: Wed Sep  7 19:58:47 2011
New Revision: 1166358

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

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java?rev=1166358&r1=1166357&r2=1166358&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java
Wed Sep  7 19:58:47 2011
@@ -50,7 +50,7 @@ public abstract class AbstractLoopProced
     /**
      * {@inheritDoc}
      */
-    public boolean equals(Object object) {
+    public final boolean equals(Object object) {
         if (object == this) {
             return true;
         }
@@ -65,7 +65,7 @@ public abstract class AbstractLoopProced
     /**
      * {@inheritDoc}
      */
-    public int hashCode() {
+    public final int hashCode() {
         return hashCode("AbstractLoopProcedure".hashCode());
     }
 
@@ -97,7 +97,7 @@ public abstract class AbstractLoopProced
      * Get the condition.
      * @return Predicate
      */
-    protected Predicate getCondition() {
+    protected final Predicate getCondition() {
         return condition;
     }
 
@@ -105,7 +105,7 @@ public abstract class AbstractLoopProced
      * Get the action.
      * @return Procedure
      */
-    protected Procedure getAction() {
+    protected final Procedure getAction() {
         return action;
     }
 



Mime
View raw message