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 2019/09/24 18:44:28 UTC

[curator] 01/01: temp checking to see if adding synchronized fixes travis

This is an automated email from the ASF dual-hosted git repository.

randgalt pushed a commit to branch CURATOR-541-x
in repository https://gitbox.apache.org/repos/asf/curator.git

commit b6068853f1c886a1789905b5e0fa80fbbb99b496
Author: randgalt <ra...@apache.org>
AuthorDate: Tue Sep 24 13:44:13 2019 -0500

    temp checking to see if adding synchronized fixes travis
---
 .../org/apache/curator/framework/imps/CuratorTempFrameworkImpl.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorTempFrameworkImpl.java b/curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorTempFrameworkImpl.java
index d5baa80..2f92294 100644
--- a/curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorTempFrameworkImpl.java
+++ b/curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorTempFrameworkImpl.java
@@ -72,13 +72,13 @@ public class CuratorTempFrameworkImpl implements CuratorTempFramework
     }
 
     @VisibleForTesting
-    CuratorFrameworkImpl getClient()
+    synchronized CuratorFrameworkImpl getClient()
     {
         return client;
     }
 
     @VisibleForTesting
-    ScheduledExecutorService getCleanup()
+    synchronized ScheduledExecutorService getCleanup()
     {
         return cleanup;
     }