Removing a duplicate function and another minor cleanup in QuorumPeer.java
--------------------------------------------------------------------------
Key: ZOOKEEPER-1365
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1365
Project: ZooKeeper
Issue Type: Improvement
Components: server
Reporter: Alexander Shraer
Assignee: Alexander Shraer
Priority: Trivial
- getMyId() and getId() in QuorumPeer are doing the same thing
- QuorumPeer.quorumPeers is being read directly from outside QuorumPeer,
although we have the getter QuorumPeers.getView().
The purpose of this cleanup is to later be able to change more easily the way
QuorumPeer manages its list of peers (to support dynamic changes in this list).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira