commons-commits mailing list archives

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

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

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransposedFunction.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransposedFunction.java?rev=1170821&r1=1170820&r2=1170821&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransposedFunction.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransposedFunction.java
Wed Sep 14 19:57:27 2011
@@ -66,7 +66,7 @@ public class TransposedFunction<L, R, T>
     /**
      * {@inheritDoc}
      */
-    public T evaluate(L left, R right) {
+    public final T evaluate(L left, R right) {
         return function.evaluate(right, left);
     }
 



Mime
View raw message