doc refinement

Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/2ef420ca
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/2ef420ca
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/2ef420ca

Branch: refs/heads/CURATOR-3.0
Commit: 2ef420cab3bc2951559304786b9789763b796292
Parents: e45466a
Author: randgalt <randg...@apache.org>
Authored: Mon Jan 9 20:03:51 2017 -0500
Committer: randgalt <randg...@apache.org>
Committed: Mon Jan 9 20:03:51 2017 -0500

----------------------------------------------------------------------
 curator-x-async/src/site/confluence/index.confluence | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/2ef420ca/curator-x-async/src/site/confluence/index.confluence
----------------------------------------------------------------------
diff --git a/curator-x-async/src/site/confluence/index.confluence 
b/curator-x-async/src/site/confluence/index.confluence
index 6ccc048..ca3c07e 100644
--- a/curator-x-async/src/site/confluence/index.confluence
+++ b/curator-x-async/src/site/confluence/index.confluence
@@ -25,7 +25,7 @@ h2. Usage
 
 Note: To use Curator Async, you should be familiar with Java 8's lambdas, 
CompletedFuture and CompletionStage.
 
-Create a CuratorFramework instance in the normal way. You then wrap this 
instance using
+Create a [[CuratorFramework|../curator\-framework/index.html]] instance in the 
normal way. You then wrap this instance using
 AsyncCuratorFramework. i.e.
 
 {code}
@@ -106,7 +106,7 @@ problem occur or another exception occur, the completion 
lambda will never be ca
 
 {code}
 
async.create().withMode(PERSISTENT_SEQUENTIAL).forPath(path).thenAccept(actualPath
 ->
-    async.watched().getData().forPath(actualPath));
+    async.watched().getData().forPath(actualPath).thenApply(() -> 
watchTriggered()));
 {code}
 
 ----

Reply via email to