We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c67c542 commit 01be3c6Copy full SHA for 01be3c6
1 file changed
smack-core/src/main/java/org/jivesoftware/smack/util/Consumer.java
@@ -16,7 +16,14 @@
16
*/
17
package org.jivesoftware.smack.util;
18
19
-// TODO: Replace with java.util.function.Consumer once Smack's minimum Android SDK level is 24 or higher.
+/**
20
+ * Deprecated, use {@link java.util.function.Consumer} instead.
21
+ *
22
+ * @param <T> the type of the input to the operation
23
+ * @deprecated use {@link java.util.function.Consumer} instead.
24
+ */
25
+// TODO: Remove in Smack 4.6
26
+@Deprecated
27
public interface Consumer<T> {
28
29
void accept(T t);
0 commit comments