for some reason, one of the constructors got messed up CURATOR-268 111/head
authorrandgalt <randgalt@apache.org>
Tue, 6 Oct 2015 01:27:46 +0000 (20:27 -0500)
committerrandgalt <randgalt@apache.org>
Tue, 6 Oct 2015 01:27:46 +0000 (20:27 -0500)
curator-client/src/main/java/org/apache/curator/CuratorZookeeperClient.java

index 471adf0..18d8572 100644 (file)
@@ -93,7 +93,7 @@ public class CuratorZookeeperClient implements Closeable
      */
     public CuratorZookeeperClient(ZookeeperFactory zookeeperFactory, EnsembleProvider ensembleProvider, int sessionTimeoutMs, int connectionTimeoutMs, Watcher watcher, RetryPolicy retryPolicy, boolean canBeReadOnly)
     {
-        this(new DefaultZookeeperFactory(), ensembleProvider, sessionTimeoutMs, connectionTimeoutMs, watcher, retryPolicy, canBeReadOnly, new ClassicConnectionHandlingPolicy());
+        this(zookeeperFactory, ensembleProvider, sessionTimeoutMs, connectionTimeoutMs, watcher, retryPolicy, canBeReadOnly, new ClassicConnectionHandlingPolicy());
     }
 
     /**