From 9ac45f0efc1162004b7fd4ff2dc9e116fa185c34 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Thu, 25 Feb 2021 18:08:18 -0500 Subject: [PATCH] Add missing Javadoc. --- src/main/java/org/apache/commons/lang3/Streams.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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; }