1
0
mirror of https://github.com/apache/commons-lang.git synced 2025-02-15 14:35:20 +00:00

Depreacte Streams 0-argument contructor

This commit is contained in:
Gary Gregory 2024-01-25 09:35:12 -05:00
parent 0ef9b755ad
commit eaa563e6f5

@ -826,4 +826,14 @@ public static <T> FailableStream<T> stream(final Stream<T> stream) {
public static <T> Collector<T, ?, T[]> toArray(final Class<T> pElementType) {
return new ArrayCollector<>(pElementType);
}
/**
* Make private in 4.0.
*
* @deprecated TODO Make private in 4.0.
*/
@Deprecated
public Streams() {
// empty
}
}