Skip to content

Commit f036cd0

Browse files
committed
Merge pull request #3077 from ReactiveX/PLP
Add "since" annotations to javadocs for new Experimental/Beta methods
2 parents afbd89a + 18a47ea commit f036cd0

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/main/java/rx/Observable.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1750,6 +1750,7 @@ public final static <T> Observable<T> merge(Observable<? extends Observable<? ex
17501750
* @throws IllegalArgumentException
17511751
* if {@code maxConcurrent} is less than or equal to 0
17521752
* @see <a href="http://reactivex.io/documentation/operators/merge.html">ReactiveX operators documentation: Merge</a>
1753+
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
17531754
*/
17541755
@Experimental
17551756
@SuppressWarnings({"unchecked", "rawtypes"})
@@ -2048,11 +2049,13 @@ public final static <T> Observable<T> merge(Observable<? extends T>[] sequences)
20482049
* the maximum number of Observables that may be subscribed to concurrently
20492050
* @return an Observable that emits all of the items emitted by the Observables in the Array
20502051
* @see <a href="http://reactivex.io/documentation/operators/merge.html">ReactiveX operators documentation: Merge</a>
2052+
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
20512053
*/
20522054
@Experimental
20532055
public final static <T> Observable<T> merge(Observable<? extends T>[] sequences, int maxConcurrent) {
20542056
return merge(from(sequences), maxConcurrent);
20552057
}
2058+
20562059
/**
20572060
* Flattens an Observable that emits Observables into one Observable, in a way that allows an Observer to
20582061
* receive all successfully emitted items from all of the source Observables without being interrupted by
@@ -2080,6 +2083,7 @@ public final static <T> Observable<T> merge(Observable<? extends T>[] sequences,
20802083
public final static <T> Observable<T> mergeDelayError(Observable<? extends Observable<? extends T>> source) {
20812084
return source.lift(OperatorMerge.<T>instance(true));
20822085
}
2086+
20832087
/**
20842088
* Flattens an Observable that emits Observables into one Observable, in a way that allows an Observer to
20852089
* receive all successfully emitted items from all of the source Observables without being interrupted by
@@ -2106,6 +2110,7 @@ public final static <T> Observable<T> mergeDelayError(Observable<? extends Obser
21062110
* @return an Observable that emits all of the items emitted by the Observables emitted by the
21072111
* {@code source} Observable
21082112
* @see <a href="http://reactivex.io/documentation/operators/merge.html">ReactiveX operators documentation: Merge</a>
2113+
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
21092114
*/
21102115
@Experimental
21112116
public final static <T> Observable<T> mergeDelayError(Observable<? extends Observable<? extends T>> source, int maxConcurrent) {
@@ -5519,6 +5524,7 @@ public final Observable<T> onBackpressureDrop() {
55195524
public final Observable<T> onBackpressureBlock(int maxQueueLength) {
55205525
return lift(new OperatorOnBackpressureBlock<T>(maxQueueLength));
55215526
}
5527+
55225528
/**
55235529
* Instructs an Observable that is emitting items faster than its observer can consume them to block the
55245530
* producer thread if the number of undelivered onNext events reaches the system-wide ring buffer size.
@@ -9149,7 +9155,7 @@ public final <U, R> Observable<R> withLatestFrom(Observable<? extends U> other,
91499155
* Observable emits connected, non-overlapping windows. It emits the current window and opens a new one
91509156
* whenever the Observable produced by the specified {@code closingSelector} emits an item.
91519157
* <p>
9152-
* <img width="640" height="485" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/window1.png" alt="">
9158+
* <img width="640" height="460" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/window1.png" alt="">
91539159
* <dl>
91549160
* <dt><b>Backpressure Support:</b></dt>
91559161
* <dd>This operator does not support backpressure as it uses the {@code closingSelector} to control data

src/main/java/rx/observers/Subscribers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public final void onNext(T args) {
213213
* <code>subscriber</code>, has backpressure controlled by
214214
* <code>subscriber</code> and uses <code>subscriber</code> to
215215
* manage unsubscription.
216-
*
216+
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
217217
*/
218218
@Experimental
219219
public static <T> Subscriber<T> wrap(final Subscriber<? super T> subscriber) {

0 commit comments

Comments
 (0)