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 2018/06/28 06:03:54 UTC
[11/14] curator git commit: rename method for clarity
rename method for clarity
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/586efb5e
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/586efb5e
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/586efb5e
Branch: refs/heads/master
Commit: 586efb5edf2aebd7e50ada51bea53bc60f227f5b
Parents: 4d87380
Author: randgalt <ra...@apache.org>
Authored: Sun Jun 24 11:19:48 2018 -0500
Committer: randgalt <ra...@apache.org>
Committed: Sun Jun 24 11:19:48 2018 -0500
----------------------------------------------------------------------
.../apache/curator/framework/CuratorFrameworkFactory.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/586efb5e/curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java
----------------------------------------------------------------------
diff --git a/curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java b/curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java
index c1615c5..f3daeab 100644
--- a/curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java
+++ b/curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java
@@ -403,16 +403,16 @@ public class CuratorFrameworkFactory
}
/**
- * Set a default timeout for {@link CuratorZookeeperClient#close() }.
+ * Set a timeout for {@link CuratorZookeeperClient#close(int)} }.
* The default is 0, which means that this feature is disabled.
*
* @since 4.0.2
- * @param defaultWaitForShutdownTimeoutMs default timeout
+ * @param waitForShutdownTimeoutMs default timeout
* @return this
*/
- public Builder defaultWaitForShutdownTimeoutMs(int defaultWaitForShutdownTimeoutMs)
+ public Builder waitForShutdownTimeoutMs(int waitForShutdownTimeoutMs)
{
- this.waitForShutdownTimeoutMs = defaultWaitForShutdownTimeoutMs;
+ this.waitForShutdownTimeoutMs = waitForShutdownTimeoutMs;
return this;
}