CURATOR-495 runSafeService should return this CURATOR-495
authorrandgalt <randgalt@apache.org>
Mon, 17 Dec 2018 00:59:06 +0000 (19:59 -0500)
committerrandgalt <randgalt@apache.org>
Mon, 17 Dec 2018 00:59:06 +0000 (19:59 -0500)
curator-framework/src/main/java/org/apache/curator/framework/CuratorFrameworkFactory.java

index 86fbfce..395df71 100644 (file)
@@ -491,7 +491,7 @@ public class CuratorFrameworkFactory
         public Builder runSafeService(Executor runSafeService)
         {
             this.runSafeService = runSafeService;
-            return null;
+            return this;
         }
 
         public Executor getRunSafeService()