|
@@ -798,7 +798,7 @@ public class ResourceManager extends CompositeService implements Recoverable {
|
|
private class StandByTransitionRunnable implements Runnable {
|
|
private class StandByTransitionRunnable implements Runnable {
|
|
// The atomic variable to make sure multiple threads with the same runnable
|
|
// The atomic variable to make sure multiple threads with the same runnable
|
|
// run only once.
|
|
// run only once.
|
|
- private AtomicBoolean hasAlreadyRun = new AtomicBoolean(false);
|
|
|
|
|
|
+ private final AtomicBoolean hasAlreadyRun = new AtomicBoolean(false);
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void run() {
|
|
public void run() {
|