Skip to content

Commit 6b60a4a

Browse files
committed
adding @SInCE javadoc annotation to new methods
1 parent f2e7732 commit 6b60a4a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

rxjava-core/src/main/java/rx/Observable.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3916,7 +3916,8 @@ public final <R> Observable<R> flatMap(Func1<? super T, ? extends Observable<? e
39163916
* @throws IllegalArgumentException
39173917
* if {@code onComplete} is null
39183918
* @see <a href="https://github.com/Netflix/RxJava/wiki/Observable#wiki-onnext-oncompleted-and-onerror">RxJava Wiki: onNext, onCompleted, and onError</a>
3919-
* */
3919+
* @since 0.19
3920+
*/
39203921
public final void forEach(final Action1<? super T> onNext) {
39213922
subscribe(onNext);
39223923
}
@@ -3937,7 +3938,8 @@ public final void forEach(final Action1<? super T> onNext) {
39373938
* @throws IllegalArgumentException
39383939
* if {@code onComplete} is null
39393940
* @see <a href="https://github.com/Netflix/RxJava/wiki/Observable#wiki-onnext-oncompleted-and-onerror">RxJava Wiki: onNext, onCompleted, and onError</a>
3940-
* */
3941+
* @since 0.19
3942+
*/
39413943
public final void forEach(final Action1<? super T> onNext, final Action1<Throwable> onError) {
39423944
subscribe(onNext, onError);
39433945
}
@@ -3960,7 +3962,8 @@ public final void forEach(final Action1<? super T> onNext, final Action1<Throwab
39603962
* @throws IllegalArgumentException
39613963
* if {@code onComplete} is null
39623964
* @see <a href="https://github.com/Netflix/RxJava/wiki/Observable#wiki-onnext-oncompleted-and-onerror">RxJava Wiki: onNext, onCompleted, and onError</a>
3963-
* */
3965+
* @since 0.19
3966+
*/
39643967
public final void forEach(final Action1<? super T> onNext, final Action1<Throwable> onError, final Action0 onComplete) {
39653968
subscribe(onNext, onError, onComplete);
39663969
}
@@ -4195,6 +4198,7 @@ public final Observable<T> lastOrDefault(T defaultValue, Func1<? super T, Boolea
41954198
* @return an Observable that emits only the first {@code num} items emitted by the source Observable, or
41964199
* all of the items from the source Observable if that Observable emits fewer than {@code num} items
41974200
* @see <a href="https://github.com/Netflix/RxJava/wiki/Filtering-Observables#wiki-take">RxJava Wiki: take()</a>
4201+
* @since 0.19
41984202
*/
41994203
public final Observable<T> limit(int num) {
42004204
return take(num);

0 commit comments

Comments
 (0)