curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject [1/3] git commit: comment udpate
Date Fri, 23 May 2014 12:49:12 GMT
Repository: curator
Updated Branches:
  refs/heads/CURATOR-107 4e548a29e -> 0dcf83357


comment udpate


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

Branch: refs/heads/CURATOR-107
Commit: 290186af13dca06fd15868b422583dfdae5b594e
Parents: 4e548a2
Author: randgalt <randgalt@apache.org>
Authored: Fri May 23 07:47:30 2014 -0500
Committer: randgalt <randgalt@apache.org>
Committed: Fri May 23 07:47:30 2014 -0500

----------------------------------------------------------------------
 .../org/apache/curator/framework/recipes/locks/LockInternals.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/290186af/curator-recipes/src/main/java/org/apache/curator/framework/recipes/locks/LockInternals.java
----------------------------------------------------------------------
diff --git a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/locks/LockInternals.java
b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/locks/LockInternals.java
index 812cfd8..706b242 100644
--- a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/locks/LockInternals.java
+++ b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/locks/LockInternals.java
@@ -296,7 +296,7 @@ public class LockInternals
                     {
                         try 
                         {
-                            // use getData instead of exists to avoid leaving unneeded watchers
which is a type of resource leak
+                            // use getData() instead of exists() to avoid leaving unneeded
watchers which is a type of resource leak
                             client.getData().usingWatcher(watcher).forPath(previousSequencePath);
                             if ( millisToWait != null )
                             {


Mime
View raw message