[ 
https://issues.apache.org/jira/browse/FUNCTOR-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno P. Kinoshita resolved FUNCTOR-28.
---------------------------------------

    Resolution: Fixed

URL: http://svn.apache.org/r1508708
Log:
[FUNCTOR-28] Fix checkstyle errors in the generator package

Modified:
    
commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/Generator.java
    
commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/util/CollectionTransformer.java

Modified: 
commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/Generator.java
URL: 
http://svn.apache.org/viewvc/commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/Generator.java?rev=1508708&r1=1508707&r2=1508708&view=diff
==============================================================================
--- 
commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/Generator.java
 (original)
+++ 
commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/Generator.java
 Wed Jul 31 01:52:11 2013
@@ -55,6 +55,7 @@ public interface Generator<E> {

    /**
      * Same as to(new CollectionTransformer(collection)).
+    * @param <C> the collection type
      * @param collection Collection to which my elements should be added
      * @return <code>collection</code>
      */

Modified: 
commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/util/CollectionTransformer.java
URL: 
http://svn.apache.org/viewvc/commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/util/CollectionTransformer.java?rev=1508708&r1=1508707&r2=1508708&view=diff
==============================================================================
--- 
commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/util/CollectionTransformer.java
 (original)
+++ 
commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/util/CollectionTransformer.java
 Wed Jul 31 01:52:11 2013
@@ -27,6 +27,7 @@ import org.apache.commons.lang3.Validate
  * the constructor an ArrayList will be returned from the transform method.
  *
  * @param <E> the type of elements held in the adapted collection.
+ * @param <C> the type of the adapted collection
  * @since 1.0
  * @version $Revision$ $Date$
  */
@@ -72,6 +73,7 @@ public class CollectionTransformer<E, C 

    /**
      * Get a {@link CollectionTransformer} instance that simply returns any 
{@link Collection}.
+    * @param <E> the collection type
      * @return {@link CollectionTransformer}
      */
    public static <E> CollectionTransformer<E, Collection<E>> toCollection() {

                
> Fix checkstyle errors in the generator package
> ----------------------------------------------
>
>                 Key: FUNCTOR-28
>                 URL: https://issues.apache.org/jira/browse/FUNCTOR-28
>             Project: Commons Functor
>          Issue Type: Improvement
>            Reporter: Bruno P. Kinoshita
>            Assignee: Bruno P. Kinoshita
>            Priority: Trivial
>              Labels: checkstyle
>
> The o.a.c.functor.generator.util.CollectionTransformer.java and 
> o.a.c.functor.generator.Generator have checkstyle errors, related to missing 
> @param tags for generics.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to