maoling created ZOOKEEPER-3841:
----------------------------------
Summary: remove useless codes in the Leader.java
Key: ZOOKEEPER-3841
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3841
Project: ZooKeeper
Issue Type: Improvement
Components: server
Reporter: maoling
- There are some useless code in the Leader.java which were comment out.
- Pls recheck all the things in this class to clear up
e.g:
{code:java}
// Everything is a go, simply start counting the ticks
// WARNING: I couldn't find any wait statement on a synchronized
// block that would be notified by this notifyAll() call, so
// I commented it out
//synchronized (this) {
// notifyAll();
//}
{code}
{code:java}
//turnOffFollowers();
{code}
{code:java}
//LOG.warn("designated leader is: " + designatedLeader);
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)