commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1180209 - /commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedProcedure.java
Date Fri, 07 Oct 2011 20:35:51 GMT
Author: simonetripodi
Date: Fri Oct  7 20:35:50 2011
New Revision: 1180209

URL: http://svn.apache.org/viewvc?rev=1180209&view=rev
Log:
added missing javadoc comments

Modified:
    commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedProcedure.java

Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedProcedure.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedProcedure.java?rev=1180209&r1=1180208&r2=1180209&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedProcedure.java
(original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedProcedure.java
Fri Oct  7 20:35:50 2011
@@ -33,19 +33,25 @@ public class TransformedProcedure implem
      */
     private static final long serialVersionUID = -4111958123789033410L;
 
-    /** Base hash integer used to shift hash */
+    /** Base hash integer used to shift hash. */
     private static final int HASH_SHIFT = 2;
 
     /**
-     * Type-remembering helper
-     * @param <X>
+     * Type-remembering helper.
+     * @param <X> the adapted function argument type.
      */
     private static final class Helper<X> implements Procedure, Serializable {
         /**
          * serialVersionUID declaration.
          */
         private static final long serialVersionUID = -4093503167446891318L;
+        /**
+         * The adapted function.
+         */
         private Function<? extends X> function;
+        /**
+         * The adapted procedure.
+         */
         private UnaryProcedure<? super X> procedure;
 
         /**
@@ -66,11 +72,14 @@ public class TransformedProcedure implem
         }
     }
 
+    /**
+     * The adapted helper.
+     */
     private final Helper<?> helper;
 
     /**
      * Create a new TransformedProcedure.
-     * @param <X>
+     * @param <X> the adapted function argument type.
      * @param function Function
      * @param procedure UnaryProcedure
      */



Mime
View raw message