From b62bdf915b90aab90e8c1f2198804b77d66abc6d Mon Sep 17 00:00:00 2001 From: Eric Tschetter Date: Mon, 7 Jan 2013 10:09:19 -0800 Subject: [PATCH] 1) Fix stray import... yay IntelliJ --- .../metamx/druid/index/v1/QueryableIndexStorageAdapter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/main/java/com/metamx/druid/index/v1/QueryableIndexStorageAdapter.java b/server/src/main/java/com/metamx/druid/index/v1/QueryableIndexStorageAdapter.java index 7e7f8a33f54..445dd937ce5 100644 --- a/server/src/main/java/com/metamx/druid/index/v1/QueryableIndexStorageAdapter.java +++ b/server/src/main/java/com/metamx/druid/index/v1/QueryableIndexStorageAdapter.java @@ -22,6 +22,7 @@ package com.metamx.druid.index.v1; import com.google.common.base.Function; import com.google.common.base.Functions; import com.google.common.collect.ImmutableList; +import com.google.common.collect.Iterators; import com.google.common.collect.Maps; import com.google.common.io.Closeables; import com.metamx.common.collect.MoreIterators; @@ -47,7 +48,6 @@ import com.metamx.druid.kv.IndexedInts; import com.metamx.druid.kv.IndexedIterable; import com.metamx.druid.processing.ComplexMetricSelector; import com.metamx.druid.processing.FloatMetricSelector; -import com.sun.xml.internal.xsom.impl.scd.Iterators; import it.uniroma3.mat.extendedset.intset.ImmutableConciseSet; import org.joda.time.DateTime; import org.joda.time.Interval; @@ -366,7 +366,7 @@ public class QueryableIndexStorageAdapter extends BaseStorageAdapter @Override public Iterator iterator() { - return Iterators.singleton(value); + return Iterators.singletonIterator(value); } }; } @@ -670,7 +670,7 @@ public class QueryableIndexStorageAdapter extends BaseStorageAdapter @Override public Iterator iterator() { - return Iterators.singleton(value); + return Iterators.singletonIterator(value); } }; }