diff --git a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java index d80b8a925..ad4e91b52 100644 --- a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java +++ b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java @@ -774,7 +774,7 @@ public void run() { * there is a race condition with the dataWatchers that get set. Even after this object is closed() it can still be * called by those watchers, because the close() method cannot actually disable the watcher. *

- * The synchronization overhead should be minimal if non-existant as this is generally only called from the + * The synchronization overhead should be minimal if non-existent as this is generally only called from the * ZK client thread and will only contend if close() is called in parallel with an update, and that's the exact state * we want to protect from. * diff --git a/curator-x-async/src/test/java/org/apache/curator/x/async/modeled/TestModeledFramework.java b/curator-x-async/src/test/java/org/apache/curator/x/async/modeled/TestModeledFramework.java index 967b04744..1e0c988a1 100644 --- a/curator-x-async/src/test/java/org/apache/curator/x/async/modeled/TestModeledFramework.java +++ b/curator-x-async/src/test/java/org/apache/curator/x/async/modeled/TestModeledFramework.java @@ -386,7 +386,7 @@ public void testCompressedCreateAndRead() throws Exception { assertEquals(KeeperException.DataInconsistencyException.class, e.getClass()); }); - // Create with compressedFramework overriden by an uncompressedModel, read with all other clients + // Create with compressedFramework overridden by an uncompressedModel, read with all other clients clientWithCompressedFrameworkAndUncompressedModel.delete(); complete(clientWithCompressedFrameworkAndUncompressedModel.set(rawModel), (path, e) -> assertNull(e)); complete(client.read(), (model, e) -> assertEquals(model, rawModel)); @@ -488,7 +488,7 @@ public void testCompressedUpdateAndRead() throws Exception { assertEquals(KeeperException.DataInconsistencyException.class, e.getClass()); }); - // Update with compressedFramework overriden by an uncompressedModel, read with all other clients + // Update with compressedFramework overridden by an uncompressedModel, read with all other clients complete(clientWithCompressedFrameworkAndUncompressedModel.update(rawModel), (stat, e) -> assertNull(e)); complete(client.read(), (model, e) -> assertEquals(model, rawModel)); complete(clientWithUncompressedModel.read(), (model, e) -> assertEquals(model, rawModel)); @@ -605,7 +605,7 @@ public void testCompressedCreateOp() throws Exception { assertEquals(KeeperException.DataInconsistencyException.class, e.getClass()); }); - // Create with compressedFramework overriden by an uncompressedModel, read with all other clients + // Create with compressedFramework overridden by an uncompressedModel, read with all other clients clientWithCompressedFrameworkAndUncompressedModel.delete(); complete( clientWithCompressedFrameworkAndUncompressedModel.inTransaction(Collections.singletonList( @@ -721,7 +721,7 @@ public void testCompressedUpdateOp() throws Exception { assertEquals(KeeperException.DataInconsistencyException.class, e.getClass()); }); - // Update with compressedFramework overriden by an uncompressedModel, read with all other clients + // Update with compressedFramework overridden by an uncompressedModel, read with all other clients complete( clientWithCompressedFrameworkAndUncompressedModel.inTransaction(Collections.singletonList( clientWithCompressedFrameworkAndUncompressedModel.updateOp(rawModel))),