Skip to content

Commit 8937c60

Browse files
committed
add @SInCE annotation to javadocs for new takeUntil variant
1 parent 4aadb55 commit 8937c60

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/main/java/rx/Observable.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7855,19 +7855,18 @@ public final Observable<T> takeWhile(final Func1<? super T, Boolean> predicate)
78557855
}
78567856

78577857
/**
7858-
* Returns an Observable that first emits items emitted by the source Observable,
7859-
* checks the specified condition after each item, and
7860-
* then completes if the condition is satisfied.
7858+
* Returns an Observable that emits items emitted by the source Observable, checks the specified predicate
7859+
* for each item, and then completes if the condition is satisfied.
78617860
* <p>
7862-
* The difference between this operator and {@link #takeWhile(Func1)} is that here, the condition is evaluated <b>after</b>
7863-
* the item was emitted.
7861+
* The difference between this operator and {@link #takeWhile(Func1)} is that here, the condition is
7862+
* evaluated <em>after</em> the item is emitted.
78647863
*
78657864
* @param stopPredicate
78667865
* a function that evaluates an item emitted by the source Observable and returns a Boolean
7867-
* @return an Observable that first emits items emitted by the source Observable,
7868-
* checks the specified condition after each item, and
7869-
* then completes if the condition is satisfied.
7866+
* @return an Observable that first emits items emitted by the source Observable, checks the specified
7867+
* condition after each item, and then completes if the condition is satisfied.
78707868
* @see Observable#takeWhile(Func1)
7869+
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
78717870
*/
78727871
@Experimental
78737872
public final Observable<T> takeUntil(final Func1<? super T, Boolean> stopPredicate) {

0 commit comments

Comments
 (0)