You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2017/05/04 03:04:04 UTC
[2/2] curator git commit: old withOptions can call new withOptions
old withOptions can call new withOptions
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/f898959e
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/f898959e
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/f898959e
Branch: refs/heads/master
Commit: f898959e42990a7f98cbe0eff9e79a432a9047c9
Parents: d7d84c5
Author: randgalt <ra...@apache.org>
Authored: Wed May 3 21:53:21 2017 -0500
Committer: randgalt <ra...@apache.org>
Committed: Wed May 3 21:53:21 2017 -0500
----------------------------------------------------------------------
.../apache/curator/x/async/details/AsyncTransactionOpImpl.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/f898959e/curator-x-async/src/main/java/org/apache/curator/x/async/details/AsyncTransactionOpImpl.java
----------------------------------------------------------------------
diff --git a/curator-x-async/src/main/java/org/apache/curator/x/async/details/AsyncTransactionOpImpl.java b/curator-x-async/src/main/java/org/apache/curator/x/async/details/AsyncTransactionOpImpl.java
index 45c0205..7b158f8 100644
--- a/curator-x-async/src/main/java/org/apache/curator/x/async/details/AsyncTransactionOpImpl.java
+++ b/curator-x-async/src/main/java/org/apache/curator/x/async/details/AsyncTransactionOpImpl.java
@@ -87,10 +87,7 @@ class AsyncTransactionOpImpl implements AsyncTransactionOp
@Override
public AsyncPathAndBytesable<CuratorOp> withOptions(CreateMode createMode, List<ACL> aclList, boolean compressed)
{
- this.createMode = Objects.requireNonNull(createMode, "createMode cannot be null");
- this.aclList = aclList;
- this.compressed = compressed;
- return this;
+ return withOptions(createMode, aclList, compressed, ttl);
}
@Override