fixed some misspellings in the doc
Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/600a2f94 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/600a2f94 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/600a2f94 Branch: refs/heads/CURATOR-351 Commit: 600a2f94bd968ae8e94f237be8a0962f7af3d538 Parents: 42d2f45 Author: randgalt <randg...@apache.org> Authored: Sun Jan 22 15:31:21 2017 -0500 Committer: randgalt <randg...@apache.org> Committed: Sun Jan 22 15:31:21 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/600a2f94/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 c946805..dedcef7 100644 --- a/curator-x-async/src/site/confluence/index.confluence +++ b/curator-x-async/src/site/confluence/index.confluence @@ -100,7 +100,7 @@ h4. AsyncResult As a convenience, you can use {{AsyncResult}} to combine ZooKeeper method value, the ZooKeeper result code and any exception in one object allowing you to not worry about exceptional completions. i.e. the {{CompletionStage}} -retured by {{AsyncResult.of()}} always completes successfully with an AsyncResult object. +returned by {{AsyncResult.of()}} always completes successfully with an AsyncResult object. AsyncResult has methods to get either the method result (a path, Stat, etc.), a KeeperException code or a general exception: @@ -163,7 +163,7 @@ async.create().withOptions(EnumSet.of(doProtected)).forPath(path).handle((actual ---- -h4. Simplied usage via AsyncResult +h4. Simplified usage via AsyncResult {code} AsyncResult.of(async.create().withOptions(EnumSet.of(doProtected)).forPath(path)).thenAccept(result -> {