curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject git commit: CURATOR-55: EnsurePath should have a getPath() function
Date Tue, 17 Sep 2013 15:34:57 GMT
Updated Branches:
  refs/heads/master b5fd8405e -> b9500dc2e


CURATOR-55: EnsurePath should have a getPath() function


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

Branch: refs/heads/master
Commit: b9500dc2ea7587a9ae1d222817a90ad2263658f9
Parents: b5fd840
Author: jordan.zimmerman <jordan.zimmerman@riotgames.com>
Authored: Tue Sep 17 10:34:02 2013 -0500
Committer: jordan.zimmerman <jordan.zimmerman@riotgames.com>
Committed: Tue Sep 17 10:34:02 2013 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/curator/utils/EnsurePath.java  | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-curator/blob/b9500dc2/curator-client/src/main/java/org/apache/curator/utils/EnsurePath.java
----------------------------------------------------------------------
diff --git a/curator-client/src/main/java/org/apache/curator/utils/EnsurePath.java b/curator-client/src/main/java/org/apache/curator/utils/EnsurePath.java
index 39706f0..2a6c0e9 100644
--- a/curator-client/src/main/java/org/apache/curator/utils/EnsurePath.java
+++ b/curator-client/src/main/java/org/apache/curator/utils/EnsurePath.java
@@ -108,6 +108,15 @@ public class EnsurePath
         this.helper = (helper != null) ? helper : new AtomicReference<Helper>(new InitialHelper());
     }
 
+    /**
+     * Returns the path being Ensured
+     *
+     * @return the path being ensured
+     */
+    public String getPath() {
+        return this.path;
+    }
+
     private class InitialHelper implements Helper
     {
         private boolean         isSet = false;  // guarded by synchronization


Mime
View raw message