commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1175037 - /commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RecursiveEvaluation.java
Date Fri, 23 Sep 2011 21:32:02 GMT
Author: simonetripodi
Date: Fri Sep 23 21:32:02 2011
New Revision: 1175037

URL: http://svn.apache.org/viewvc?rev=1175037&view=rev
Log:
added missing javadoc comments
removed useless generic type

Modified:
    commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RecursiveEvaluation.java

Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RecursiveEvaluation.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RecursiveEvaluation.java?rev=1175037&r1=1175036&r2=1175037&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RecursiveEvaluation.java
(original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/RecursiveEvaluation.java
Fri Sep 23 21:32:02 2011
@@ -31,7 +31,13 @@ public class RecursiveEvaluation impleme
      * serialVersionUID declaration.
      */
     private static final long serialVersionUID = -7992078213921938619L;
+    /**
+     * The initial recursive Function type.
+     */
     private final Class<?> functionType;
+    /**
+     * The initial, potentially recursive Function.
+     */
     private Function<?> function;
 
     /**
@@ -100,10 +106,10 @@ public class RecursiveEvaluation impleme
 
     /**
      * Get the class of the specified object, or <code>null</code> if <code>o</code>
is <code>null</code>.
-     * @param o Object to check
+     * @param f Object to check
      * @return Class found
      */
-    private static <T> Class<?> getClass(Function<?> f) {
+    private static Class<?> getClass(Function<?> f) {
         return f == null ? null : f.getClass();
     }
 }



Mime
View raw message