Skip to content

Commit 9cfe051

Browse files
committed
Merge pull request ReactiveX#3370 from artem-zinnatullin/remove-unused-field-updater-from-SubjectSubscriptionManager
Remove unused field updater from SubjectSubscriptionManager
2 parents 6121baf + 5e90dd7 commit 9cfe051

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/rx/subjects/SubjectSubscriptionManager.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040
= AtomicReferenceFieldUpdater.newUpdater(SubjectSubscriptionManager.class, State.class, "state");
4141
/** Stores the latest value or the terminal value for some Subjects. */
4242
volatile Object latest;
43-
static final AtomicReferenceFieldUpdater<SubjectSubscriptionManager, Object> LATEST_UPDATER
44-
= AtomicReferenceFieldUpdater.newUpdater(SubjectSubscriptionManager.class, Object.class, "latest");
4543
/** Indicates that the subject is active (cheaper than checking the state).*/
4644
boolean active = true;
4745
/** Action called when a new subscriber subscribes but before it is added to the state. */

0 commit comments

Comments
 (0)