refactor the comment
Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/8daddd2b Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/8daddd2b Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/8daddd2b Branch: refs/heads/master Commit: 8daddd2b6d382fb2e116f436cae1461841c7ae1a Parents: b01926d Author: hebelala <[email protected]> Authored: Wed Aug 16 13:29:54 2017 +0800 Committer: hebelala <[email protected]> Committed: Wed Aug 16 13:29:54 2017 +0800 ---------------------------------------------------------------------- .../src/main/java/org/apache/curator/utils/ZKPaths.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/8daddd2b/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java ---------------------------------------------------------------------- diff --git a/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java b/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java index 91e65ea..32054b6 100644 --- a/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java +++ b/curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java @@ -317,7 +317,7 @@ public class ZKPaths try { children = zookeeper.getChildren(path, null); } catch (KeeperException.NoNodeException e) { - // someone else has deleted the node it since we checked + // someone else has deleted the node since we checked return; } for ( String child : children ) @@ -339,7 +339,7 @@ public class ZKPaths } catch ( KeeperException.NoNodeException e ) { - // ignore... someone else has deleted the node it since we checked + // ignore... someone else has deleted the node since we checked } } }
