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 2017/10/04 14:02:03 UTC

[3/8] curator git commit: typo - both cache selectors were compressed

typo - both cache selectors were compressed


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

Branch: refs/heads/persistent-watch
Commit: 570023df19106f5ce6895490fe32cbf8be38ac5e
Parents: bf7c5ec
Author: randgalt <ra...@apache.org>
Authored: Thu Aug 24 06:22:07 2017 +0200
Committer: randgalt <ra...@apache.org>
Committed: Thu Aug 24 06:22:07 2017 +0200

----------------------------------------------------------------------
 .../apache/curator/x/async/modeled/details/ModeledCacheImpl.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/570023df/curator-x-async/src/main/java/org/apache/curator/x/async/modeled/details/ModeledCacheImpl.java
----------------------------------------------------------------------
diff --git a/curator-x-async/src/main/java/org/apache/curator/x/async/modeled/details/ModeledCacheImpl.java b/curator-x-async/src/main/java/org/apache/curator/x/async/modeled/details/ModeledCacheImpl.java
index ce73a9b..2684633 100644
--- a/curator-x-async/src/main/java/org/apache/curator/x/async/modeled/details/ModeledCacheImpl.java
+++ b/curator-x-async/src/main/java/org/apache/curator/x/async/modeled/details/ModeledCacheImpl.java
@@ -74,7 +74,7 @@ class ModeledCacheImpl<T> implements CacheListener, ModeledCache<T>
         this.serializer = modelSpec.serializer();
         boolean dataIsCompressed = modelSpec.createOptions().contains(CreateOption.compress);
         cache = CuratorCacheBuilder.builder(client, basePath.fullPath())
-            .withCacheSelector(dataIsCompressed ? CacheSelectors.uncompressedStatAndData() : CacheSelectors.getUncompressedStatOnly())
+            .withCacheSelector(dataIsCompressed ? CacheSelectors.uncompressedStatAndData() : CacheSelectors.statAndData())
             .sendingRefreshEvents(true)
             .build();
     }