Skip to content

Commit 5160c1d

Browse files
committed
fix comments
1 parent e6708ca commit 5160c1d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/rx/internal/operators/OnSubscribeRedo.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,10 @@ public void onNext(Object t) {
349349
// now when there is the possibility that the child may unsubscribe and never use
350350
// that resubscription
351351

352-
//TODO what if consumerCapacity increases now then we are in a situation where the
353-
// next call of request(n) will do nothing because of the c ==0 check in request(n).
354-
// this could cause the stream to stall? Fix might be to remove c==0 check?
352+
// TODO what if consumerCapacity increases now then we are in a situation where the
353+
// next call of request(n) will not initiate a new subscription because of the c ==0
354+
// check in request(n). This could cause the stream to stall? Fix might be to remove
355+
// c==0 check?
355356
resumeBoundary.compareAndSet(false, true);
356357
}
357358
}

0 commit comments

Comments
 (0)