tiny formatting change: remove superfluous parentheses Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/2cc3f1f1 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/2cc3f1f1 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/2cc3f1f1
Branch: refs/heads/CURATOR-447 Commit: 2cc3f1f1f8aff8d817e65c8aa18124a5023e7c17 Parents: 99acafe Author: nickhill <nickh...@us.ibm.com> Authored: Mon Feb 12 15:16:31 2018 -0800 Committer: nickhill <nickh...@us.ibm.com> Committed: Mon Feb 12 15:16:31 2018 -0800 ---------------------------------------------------------------------- .../java/org/apache/curator/framework/recipes/cache/TreeCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/2cc3f1f1/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCache.java ---------------------------------------------------------------------- diff --git a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCache.java b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCache.java index 09a29e8..7f8aad7 100644 --- a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCache.java +++ b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCache.java @@ -442,7 +442,7 @@ public class TreeCache implements Closeable { final ChildData oldChildData = childData; // Ignore this event if we've already processed a newer update for this node. - if ( (isLive(oldChildData) && newStat.getMzxid() <= oldChildData.getStat().getMzxid()) ) + if ( isLive(oldChildData) && newStat.getMzxid() <= oldChildData.getStat().getMzxid() ) { break; }