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

Flavio Paiva Junqueira reassigned ZOOKEEPER-4:
----------------------------------------------

    Assignee: Flavio Paiva Junqueira

> 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.

Reply via email to