Clean up unused variable in ControllerLeadershipManager
@@ -34,9 +34,6 @@ public class ControllerLeadershipManager {
private static final Logger LOGGER = LoggerFactory.getLogger(ControllerLeadershipManager.class);
- // TODO: fix the misuse of singleton.
- private static ControllerLeadershipManager INSTANCE = null;
-
private HelixManager _helixManager;
private volatile boolean _amILeader = false;
@@ -54,7 +51,6 @@ public class ControllerLeadershipManager {
if (_amILeader) {
onBecomingNonLeader();
}
- INSTANCE = null;
}
/**
