curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject [1/2] git commit: make ChildData constructor public for access from unit tests and such
Date Sun, 13 Apr 2014 14:22:48 GMT
Repository: curator
Updated Branches:
  refs/heads/CURATOR-102 [created] 99a1b7c1d


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-102
Commit: 43d1c23762b9242d2ec31a2b7d34330ec0ef2b9a
Parents: fe54e88
Author: Ted Pearson <ted@addthis.com>
Authored: Thu Apr 10 14:51:15 2014 -0400
Committer: Ted Pearson <ted@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;


Mime
View raw message