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 2016/05/03 19:40:08 UTC

curator git commit: cache loader must return nullSchema if not found

Repository: curator
Updated Branches:
  refs/heads/CURATOR-322 3d9eb203b -> d37477354


cache loader must return nullSchema if not found


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

Branch: refs/heads/CURATOR-322
Commit: d374773545d08bd4fc0f9d2be73d86772dc9cd9f
Parents: 3d9eb20
Author: randgalt <ra...@apache.org>
Authored: Tue May 3 12:40:01 2016 -0500
Committer: randgalt <ra...@apache.org>
Committed: Tue May 3 12:40:01 2016 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/curator/framework/schema/SchemaSet.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/d3747735/curator-framework/src/main/java/org/apache/curator/framework/schema/SchemaSet.java
----------------------------------------------------------------------
diff --git a/curator-framework/src/main/java/org/apache/curator/framework/schema/SchemaSet.java b/curator-framework/src/main/java/org/apache/curator/framework/schema/SchemaSet.java
index 345d430..fe27cbd 100644
--- a/curator-framework/src/main/java/org/apache/curator/framework/schema/SchemaSet.java
+++ b/curator-framework/src/main/java/org/apache/curator/framework/schema/SchemaSet.java
@@ -55,7 +55,7 @@ public class SchemaSet
                     return schema;
                 }
             }
-            return defaultSchema;
+            return nullSchema;
         }
     };
     private final LoadingCache<String, Schema> regexCache = CacheBuilder