commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1170812&view=rev
Log:
fixed checkstyle violation: Method 'toString' 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/TransformedFunction.java

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedFunction.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedFunction.java?rev=1170812&r1=1170811&r2=1170812&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedFunction.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedFunction.java
Wed Sep 14 19:46:02 2011
@@ -117,7 +117,7 @@ public class TransformedFunction<T> impl
      * {@inheritDoc}
      */
     @Override
-    public String toString() {
+    public final String toString() {
         return "TransformedFunction<" + helper.preceding + "; " + helper.following + ">";
     }
 }



Mime
View raw message