diff --git a/src/main/java/org/apache/commons/lang3/Streams.java b/src/main/java/org/apache/commons/lang3/Streams.java index 354cd82fd..258b9a268 100644 --- a/src/main/java/org/apache/commons/lang3/Streams.java +++ b/src/main/java/org/apache/commons/lang3/Streams.java @@ -440,6 +440,9 @@ public class Streams { } /** + * A Collector type for arrays. + * + * @param The array type. * @deprecated Use {@link org.apache.commons.lang3.stream.Streams.ArrayCollector}. */ @Deprecated @@ -447,6 +450,11 @@ public class Streams { private static final Set characteristics = Collections.emptySet(); private final Class elementType; + /** + * Constructs a new instance for the given element type. + * + * @param elementType The element type. + */ public ArrayCollector(final Class elementType) { this.elementType = elementType; }