fix compilation

This commit is contained in:
nishantmonu51 2014-06-16 17:55:43 +05:30
parent 49d3bd94da
commit a9c09ec8a7
1 changed files with 8 additions and 2 deletions

View File

@ -21,6 +21,7 @@ package io.druid.segment.incremental;
import com.google.common.base.Function; import com.google.common.base.Function;
import com.google.common.base.Joiner; import com.google.common.base.Joiner;
import com.google.common.base.Throwables;
import com.google.common.collect.BiMap; import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap; import com.google.common.collect.HashBiMap;
import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableList;
@ -504,9 +505,14 @@ public class IncrementalIndex implements Iterable<Row>, Closeable
} }
@Override @Override
public void close() throws IOException public void close()
{ {
bufferHolder.close(); try {
bufferHolder.close();
}
catch (IOException e) {
throw Throwables.propagate(e);
}
} }
static class DimensionHolder static class DimensionHolder