Skip to content

Commit

Permalink
Make hasDownstreamCancelled protected instead of package-protected
Browse files Browse the repository at this point in the history
  • Loading branch information
jponge committed Sep 23, 2021
1 parent 30e9f79 commit a0d10e4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -16,7 +16,7 @@ public abstract class MultiOperatorProcessor<I, O> implements MultiSubscriber<I>
// Cannot be final, the TCK checks it gets released.
protected volatile MultiSubscriber<? super O> downstream;
protected volatile Subscription upstream = null;
AtomicBoolean hasDownstreamCancelled = new AtomicBoolean();
protected AtomicBoolean hasDownstreamCancelled = new AtomicBoolean();

private static final AtomicReferenceFieldUpdater<MultiOperatorProcessor, Subscription> UPSTREAM_UPDATER = AtomicReferenceFieldUpdater
.newUpdater(MultiOperatorProcessor.class, Subscription.class, "upstream");
Expand Down

0 comments on commit a0d10e4

Please sign in to comment.