Skip to content

Commit e382e7e

Browse files
committed
add @SInCE annotation to new operator (also: remove "Beta" section as it's been moved from Beta to Experimental status)
1 parent 2f06736 commit e382e7e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/main/java/rx/Observable.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,20 +3749,19 @@ public final Observable<T> defaultIfEmpty(T defaultValue) {
37493749
}
37503750

37513751
/**
3752-
* Returns an Observable that emits the items emitted by the source Observable or the items of an alternate Observable if the source Observable
3753-
* is empty.
3752+
* Returns an Observable that emits the items emitted by the source Observable or the items of an alternate
3753+
* Observable if the source Observable is empty.
37543754
* <p/>
37553755
* <dl>
37563756
* <dt><b>Scheduler:</b></dt>
37573757
* <dd>{@code switchIfEmpty} does not operate by default on a particular {@link Scheduler}.</dd>
3758-
* <dt><b>Beta:</b></dt>
3759-
* <dd>{@code switchIfEmpty} is currently in {@link rx.annotations.Beta} and subject to change.</dd>
37603758
* </dl>
37613759
*
37623760
* @param alternate
37633761
* the alternate Observable to subscribe to if the source does not emit any items
3764-
* @return an Observable that emits the items emitted by the source Observable or the items of an alternate Observable if the source Observable
3765-
* is empty.
3762+
* @return an Observable that emits the items emitted by the source Observable or the items of an
3763+
* alternate Observable if the source Observable is empty.
3764+
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
37663765
*/
37673766
@Experimental
37683767
public final Observable<T> switchIfEmpty(Observable<? extends T> alternate) {

0 commit comments

Comments
 (0)