You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Flavio Paiva Junqueira (JIRA)" <ji...@apache.org> on 2008/06/12 16:10:46 UTC
[jira] Assigned: (ZOOKEEPER-4) Unnecessary condition check in
FastLeaderElection
[ 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.