From 5e90dd7e524052601ba3af358569da435c834f80 Mon Sep 17 00:00:00 2001 From: Artem Zinnatullin Date: Tue, 22 Sep 2015 01:39:46 +0300 Subject: [PATCH] Remove unused field updater from SubjectSubscriptionManager --- src/main/java/rx/subjects/SubjectSubscriptionManager.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/rx/subjects/SubjectSubscriptionManager.java b/src/main/java/rx/subjects/SubjectSubscriptionManager.java index a160c720a3..542d050c39 100644 --- a/src/main/java/rx/subjects/SubjectSubscriptionManager.java +++ b/src/main/java/rx/subjects/SubjectSubscriptionManager.java @@ -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 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. */