review comments

This commit is contained in:
nishantmonu51 2014-04-15 21:06:30 +05:30
parent d66ae5ac10
commit 3eb8160b51
1 changed files with 0 additions and 5 deletions

View File

@ -146,12 +146,7 @@ public class TimeseriesQueryQueryToolChest extends QueryToolChest<Result<Timeser
values.put(agg.getName(), fn.manipulate(agg, holder.getMetric(agg.getName())));
}
for (PostAggregator postAgg : query.getPostAggregatorSpecs()) {
Object computedPostAggValue = holder.getMetric(postAgg.getName());
if (computedPostAggValue != null) {
values.put(postAgg.getName(), computedPostAggValue);
} else {
values.put(postAgg.getName(), postAgg.compute(values));
}
}
return new Result<TimeseriesResultValue>(
result.getTimestamp(),