another rename
authorEnrico Olivelli <eolivelli@apache.org>
Sun, 24 Jun 2018 16:17:09 +0000 (18:17 +0200)
committerEnrico Olivelli <eolivelli@apache.org>
Sun, 24 Jun 2018 16:17:09 +0000 (18:17 +0200)
curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java

index c1615c5..9979fd6 100644 (file)
@@ -407,12 +407,12 @@ public class CuratorFrameworkFactory
          * 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;
         }