Skip to content

Commit 8daddd2

Browse files
committed
refactor the comment
1 parent b01926d commit 8daddd2

File tree

1 file changed

+2
-2
lines changed
  • curator-client/src/main/java/org/apache/curator/utils

1 file changed

+2
-2
lines changed

curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ public static void deleteChildren(ZooKeeper zookeeper, String path, boolean dele
317317
try {
318318
children = zookeeper.getChildren(path, null);
319319
} catch (KeeperException.NoNodeException e) {
320-
// someone else has deleted the node it since we checked
320+
// someone else has deleted the node since we checked
321321
return;
322322
}
323323
for ( String child : children )
@@ -339,7 +339,7 @@ public static void deleteChildren(ZooKeeper zookeeper, String path, boolean dele
339339
}
340340
catch ( KeeperException.NoNodeException e )
341341
{
342-
// ignore... someone else has deleted the node it since we checked
342+
// ignore... someone else has deleted the node since we checked
343343
}
344344
}
345345
}

0 commit comments

Comments
 (0)