curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject curator git commit: cache loader must return nullSchema if not found
Date Tue, 03 May 2016 17:40:08 GMT
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 <randgalt@apache.org>
Authored: Tue May 3 12:40:01 2016 -0500
Committer: randgalt <randgalt@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


Mime
View raw message