You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2013/07/31 03:52:11 UTC
svn commit: r1508708 - in
/commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator:
Generator.java util/CollectionTransformer.java
Author: kinow
Date: Wed Jul 31 01:52:11 2013
New Revision: 1508708
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() {