more squigglies

This commit is contained in:
xvrl 2013-03-20 12:17:20 -07:00
parent 8eec41f934
commit 0b04114c12
2 changed files with 6 additions and 2 deletions

View File

@ -303,7 +303,9 @@ public class GroupByQueryEngine
boolean hasNext = delegate.hasNext() || !cursor.isDone(); boolean hasNext = delegate.hasNext() || !cursor.isDone();
if(!hasNext) { if(!hasNext) {
// cleanup // cleanup
for(BufferAggregator agg : aggregators) agg.close(); for(BufferAggregator agg : aggregators) {
agg.close();
}
} }
return hasNext; return hasNext;
} }

View File

@ -83,7 +83,9 @@ public class TimeseriesQueryEngine
Result<TimeseriesResultValue> retVal = bob.build(); Result<TimeseriesResultValue> retVal = bob.build();
// cleanup // cleanup
for(Aggregator agg : aggregators) agg.close(); for(Aggregator agg : aggregators) {
agg.close();
}
return retVal; return retVal;
} }