hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Flavio Paiva Junqueira (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ZOOKEEPER-4) Unnecessary condition check in FastLeaderElection
Date Tue, 09 Sep 2008 21:09:44 GMT

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

Flavio Paiva Junqueira resolved ZOOKEEPER-4.
--------------------------------------------

    Resolution: Fixed

This issue was resolved in the patch of JIRA 2.

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


Mime
View raw message