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:27 UTC

[curator] branch CURATOR-541-x created (now b606885)

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

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


      at b606885  temp checking to see if adding synchronized fixes travis

This branch includes the following new commits:

     new b606885  temp checking to see if adding synchronized fixes travis

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by ra...@apache.org.
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;
     }