We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7593247 commit 11343aeCopy full SHA for 11343ae
src/main/java/rx/Notification.java
@@ -67,8 +67,10 @@ public static <T> Notification<T> createOnCompleted() {
67
*
68
* @param <T> the actual value type held by the Notification
69
* @param type
70
+ * @deprecated this method does the same as {@link #createOnCompleted()} and does not use the passed in type hence it's useless.
71
* @return an {@code OnCompleted} variety of {@code Notification}
72
*/
73
+ @Deprecated
74
@SuppressWarnings("unchecked")
75
public static <T> Notification<T> createOnCompleted(Class<T> type) {
76
return (Notification<T>) ON_COMPLETED;
0 commit comments