diff --git a/pom.xml b/pom.xml
index 6f74d7d6d0f..7bde87c2e24 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,7 +41,7 @@
UTF-8
0.26.5
2.5.0
- 0.2.6-SNAPSHOT
+ 0.2.6
diff --git a/server/src/main/java/io/druid/client/cache/CacheConfig.java b/server/src/main/java/io/druid/client/cache/CacheConfig.java
index f81c01de07e..26c5f383f2d 100644
--- a/server/src/main/java/io/druid/client/cache/CacheConfig.java
+++ b/server/src/main/java/io/druid/client/cache/CacheConfig.java
@@ -20,7 +20,6 @@
package io.druid.client.cache;
import com.fasterxml.jackson.annotation.JsonProperty;
-import com.google.common.collect.Sets;
import io.druid.query.Query;
import java.util.Arrays;
@@ -52,6 +51,7 @@ public class CacheConfig
public boolean isQueryCacheable(Query query)
{
- return !Sets.newHashSet(unCacheable).contains(query.getType());
+ // O(n) impl, but I don't think we'll ever have a million query types here
+ return !unCacheable.contains(query.getType());
}
}