Details
Description
Dig ZKFC source code and find that the dead code as follow
public void removeCallback(Callback cb) { callbacks.remove(cb); } public synchronized void removeServiceStateCallback(ServiceStateCallback cb) { serviceStateCallbacks.remove(cb); } synchronized HAServiceStatus getLastServiceStatus() { return lastServiceState; }
It's useless, and should be deleted.