CURATOR-161 - Changed local() call to be called locally()
Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/198ba684 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/198ba684 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/198ba684 Branch: refs/heads/CURATOR-3.0 Commit: 198ba684ff8bb47e10e40dd46c6e97023b7a365f Parents: 4c2ba37 Author: Cameron McKenzie <came...@unico.com.au> Authored: Mon May 11 12:38:18 2015 +1000 Committer: Cameron McKenzie <came...@unico.com.au> Committed: Mon May 11 12:38:18 2015 +1000 ---------------------------------------------------------------------- .../java/org/apache/curator/framework/api/RemoveWatchesLocal.java | 2 +- .../apache/curator/framework/imps/RemoveWatchesBuilderImpl.java | 2 +- .../java/org/apache/curator/framework/imps/TestRemoveWatches.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/198ba684/curator-framework/src/main/java/org/apache/curator/framework/api/RemoveWatchesLocal.java ---------------------------------------------------------------------- diff --git a/curator-framework/src/main/java/org/apache/curator/framework/api/RemoveWatchesLocal.java b/curator-framework/src/main/java/org/apache/curator/framework/api/RemoveWatchesLocal.java index d183a6a..3769d1f 100644 --- a/curator-framework/src/main/java/org/apache/curator/framework/api/RemoveWatchesLocal.java +++ b/curator-framework/src/main/java/org/apache/curator/framework/api/RemoveWatchesLocal.java @@ -12,6 +12,6 @@ public interface RemoveWatchesLocal extends BackgroundPathableQuietly<Void> * is not available. * @return */ - public BackgroundPathableQuietly<Void> local(); + public BackgroundPathableQuietly<Void> locally(); } http://git-wip-us.apache.org/repos/asf/curator/blob/198ba684/curator-framework/src/main/java/org/apache/curator/framework/imps/RemoveWatchesBuilderImpl.java ---------------------------------------------------------------------- diff --git a/curator-framework/src/main/java/org/apache/curator/framework/imps/RemoveWatchesBuilderImpl.java b/curator-framework/src/main/java/org/apache/curator/framework/imps/RemoveWatchesBuilderImpl.java index 1e4fb88..4354653 100644 --- a/curator-framework/src/main/java/org/apache/curator/framework/imps/RemoveWatchesBuilderImpl.java +++ b/curator-framework/src/main/java/org/apache/curator/framework/imps/RemoveWatchesBuilderImpl.java @@ -113,7 +113,7 @@ public class RemoveWatchesBuilderImpl implements RemoveWatchesBuilder, RemoveWat } @Override - public BackgroundPathableQuietly<Void> local() + public BackgroundPathableQuietly<Void> locally() { local = true; return this; http://git-wip-us.apache.org/repos/asf/curator/blob/198ba684/curator-framework/src/test/java/org/apache/curator/framework/imps/TestRemoveWatches.java ---------------------------------------------------------------------- diff --git a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestRemoveWatches.java b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestRemoveWatches.java index 28799f7..39967c9 100644 --- a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestRemoveWatches.java +++ b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestRemoveWatches.java @@ -323,7 +323,7 @@ public class TestRemoveWatches extends BaseClassForTests timing.sleepABit(); - client.watches().removeAll().ofType(WatcherType.Any).local().forPath(path); + client.watches().removeAll().ofType(WatcherType.Any).locally().forPath(path); Assert.assertTrue(timing.awaitLatch(removedLatch), "Timed out waiting for watch removal"); }