aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/util/StreamUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-common/src/main/java/com/juick/util/StreamUtils.java')
-rw-r--r--juick-common/src/main/java/com/juick/util/StreamUtils.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/util/StreamUtils.java b/juick-common/src/main/java/com/juick/util/StreamUtils.java
index de19a43e..576107af 100644
--- a/juick-common/src/main/java/com/juick/util/StreamUtils.java
+++ b/juick-common/src/main/java/com/juick/util/StreamUtils.java
@@ -7,6 +7,10 @@ import java.util.function.Predicate;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;
+/**
+ * @deprecated switch to JDK9+ Stream API when possible
+ */
+@Deprecated
public class StreamUtils {
private static <T> Spliterator<T> takeWhile(
Spliterator<T> splitr, Predicate<? super T> predicate) {