Skip to content

Commit 27c782d

Browse files
vanniktechakarnokd
authored andcommitted
1.x: Make Observable takeUntil documentation more explicit (#4282)
1 parent 3690bd7 commit 27c782d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/rx/Observable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10511,7 +10511,7 @@ public final Observable<T> takeWhile(final Func1<? super T, Boolean> predicate)
1051110511

1051210512
/**
1051310513
* Returns an Observable that emits items emitted by the source Observable, checks the specified predicate
10514-
* for each item, and then completes if the condition is satisfied.
10514+
* for each item, and then completes when the condition is satisfied.
1051510515
* <p>
1051610516
* <img width="640" height="305" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/takeUntil.p.png" alt="">
1051710517
* <p>
@@ -10529,7 +10529,7 @@ public final Observable<T> takeWhile(final Func1<? super T, Boolean> predicate)
1052910529
* @param stopPredicate
1053010530
* a function that evaluates an item emitted by the source Observable and returns a Boolean
1053110531
* @return an Observable that first emits items emitted by the source Observable, checks the specified
10532-
* condition after each item, and then completes if the condition is satisfied.
10532+
* condition after each item, and then completes when the condition is satisfied.
1053310533
* @see <a href="http://reactivex.io/documentation/operators/takeuntil.html">ReactiveX operators documentation: TakeUntil</a>
1053410534
* @see Observable#takeWhile(Func1)
1053510535
* @since 1.1.0

0 commit comments

Comments
 (0)