This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 9ac45f0 Add missing Javadoc.
9ac45f0 is described below
commit 9ac45f0efc1162004b7fd4ff2dc9e116fa185c34
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Feb 25 18:08:18 2021 -0500
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 354cd82..258b9a2 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 <O> 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> characteristics =
Collections.emptySet();
private final Class<O> elementType;
+ /**
+ * Constructs a new instance for the given element type.
+ *
+ * @param elementType The element type.
+ */
public ArrayCollector(final Class<O> elementType) {
this.elementType = elementType;
}