Skip to content

Commit

Permalink
Remove unused field updater from SubjectSubscriptionManager
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-zinnatullin committed Sep 21, 2015
1 parent 84622bb commit 5e90dd7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/rx/subjects/SubjectSubscriptionManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
= AtomicReferenceFieldUpdater.newUpdater(SubjectSubscriptionManager.class, State.class, "state");
/** Stores the latest value or the terminal value for some Subjects. */
volatile Object latest;
static final AtomicReferenceFieldUpdater<SubjectSubscriptionManager, Object> LATEST_UPDATER
= AtomicReferenceFieldUpdater.newUpdater(SubjectSubscriptionManager.class, Object.class, "latest");
/** Indicates that the subject is active (cheaper than checking the state).*/
boolean active = true;
/** Action called when a new subscriber subscribes but before it is added to the state. */
Expand Down

0 comments on commit 5e90dd7

Please sign in to comment.