commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1166331 - /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/WhileDo.java
Date Wed, 07 Sep 2011 19:34:39 GMT
Author: simonetripodi
Date: Wed Sep  7 19:34:39 2011
New Revision: 1166331

URL: http://svn.apache.org/viewvc?rev=1166331&view=rev
Log:
fixed checkstyle violations: Method 'run' 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/WhileDo.java

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/WhileDo.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/WhileDo.java?rev=1166331&r1=1166330&r2=1166331&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/WhileDo.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/WhileDo.java
Wed Sep  7 19:34:39 2011
@@ -43,7 +43,7 @@ public class WhileDo extends PredicatedL
     /**
      * {@inheritDoc}
      */
-    public void run() {
+    public final void run() {
         while (getTest().test()) {
             getBody().run();
         }



Mime
View raw message