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 2014/05/14 17:10:52 UTC

[03/12] git commit: make ChildData constructor public for access from unit tests and such

make ChildData constructor public for access from unit tests and such


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

Branch: refs/heads/CURATOR-96
Commit: 43d1c23762b9242d2ec31a2b7d34330ec0ef2b9a
Parents: fe54e88
Author: Ted Pearson <te...@addthis.com>
Authored: Thu Apr 10 14:51:15 2014 -0400
Committer: Ted Pearson <te...@addthis.com>
Committed: Thu Apr 10 14:51:15 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/curator/blob/43d1c237/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/ChildData.java
----------------------------------------------------------------------
diff --git a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/ChildData.java b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/ChildData.java
index 4b6fe83..399cb33 100644
--- a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/ChildData.java
+++ b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/ChildData.java
@@ -28,7 +28,7 @@ public class ChildData implements Comparable<ChildData>
     private final Stat      stat;
     private final AtomicReference<byte[]>    data;
 
-    ChildData(String path, Stat stat, byte[] data)
+    public ChildData(String path, Stat stat, byte[] data)
     {
         this.path = path;
         this.stat = stat;