[ https://issues.apache.org/jira/browse/ZOOKEEPER-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flavio Paiva Junqueira closed ZOOKEEPER-4. ------------------------------------------ > Unnecessary condition check in FastLeaderElection > ------------------------------------------------- > > Key: ZOOKEEPER-4 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4 > Project: Zookeeper > Issue Type: Bug > Components: leaderElection > Reporter: Benjamin Reed > Assignee: Flavio Paiva Junqueira > > FastLeaderElection.java line 224: The part of the condition after && is not > needed: This is the else branch of an if statement, where the condition is > exactly the first part. Hence, the part after && *must* be true. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.