[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-4:
---------------------------------

        Fix Version/s: 3.0.0
    Affects Version/s: 3.0.0

> Unnecessary condition check in FastLeaderElection
> -------------------------------------------------
>
>                 Key: ZOOKEEPER-4
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: leaderElection
>    Affects Versions: 3.0.0
>            Reporter: Benjamin Reed
>            Assignee: Flavio Paiva Junqueira
>             Fix For: 3.0.0
>
>
>  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.

Reply via email to