Skip to content

Commit ec3d522

Browse files
committed
If cache() now supports backpressure, correct javadocs to indicate this.
1 parent d2a5d5d commit ec3d522

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/java/rx/Observable.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3493,8 +3493,7 @@ public final <B> Observable<List<T>> buffer(Observable<B> boundary, int initialC
34933493
* of items that will use up memory.
34943494
* <dl>
34953495
* <dt><b>Backpressure Support:</b></dt>
3496-
* <dd>This operator does not support upstream backpressure as it is purposefully requesting and caching
3497-
* everything emitted.</dd>
3496+
* <dd>This operator supports backpressure.</dd>
34983497
* <dt><b>Scheduler:</b></dt>
34993498
* <dd>{@code cache} does not operate by default on a particular {@link Scheduler}.</dd>
35003499
* </dl>
@@ -3527,8 +3526,7 @@ public final Observable<T> cache() {
35273526
* of items that will use up memory.
35283527
* <dl>
35293528
* <dt><b>Backpressure Support:</b></dt>
3530-
* <dd>This operator does not support upstream backpressure as it is purposefully requesting and caching
3531-
* everything emitted.</dd>
3529+
* <dd>This operator supports backpressure.</dd>
35323530
* <dt><b>Scheduler:</b></dt>
35333531
* <dd>{@code cache} does not operate by default on a particular {@link Scheduler}.</dd>
35343532
* </dl>

0 commit comments

Comments
 (0)