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 2018/01/02 16:03:55 UTC

[3/7] curator git commit: added comment

added comment


Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/0d01ea55
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/0d01ea55
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/0d01ea55

Branch: refs/heads/master
Commit: 0d01ea5587024fa517b79880c9cf5193f3a6522e
Parents: c49f037
Author: randgalt <ra...@apache.org>
Authored: Tue Dec 5 12:45:56 2017 -0800
Committer: randgalt <ra...@apache.org>
Committed: Tue Dec 5 12:45:56 2017 -0800

----------------------------------------------------------------------
 .../org/apache/curator/framework/imps/CuratorFrameworkImpl.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/0d01ea55/curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorFrameworkImpl.java
----------------------------------------------------------------------
diff --git a/curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorFrameworkImpl.java b/curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorFrameworkImpl.java
index c91758a..1d3c1b6 100644
--- a/curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorFrameworkImpl.java
+++ b/curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorFrameworkImpl.java
@@ -646,6 +646,10 @@ public class CuratorFrameworkImpl implements CuratorFramework
         }
     }
 
+    /**
+     * @param operationAndData operation entry
+     * @return true if the operation was actually queued, false if not
+     */
     <DATA_TYPE> boolean queueOperation(OperationAndData<DATA_TYPE> operationAndData)
     {
         if ( getState() == CuratorFrameworkState.STARTED )