even more simple

This commit is contained in:
xvrl 2013-02-15 11:19:13 -08:00
parent 6998d604a2
commit 780410446c
1 changed files with 2 additions and 3 deletions

View File

@ -22,7 +22,6 @@ package com.metamx.druid.query.timeboundary;
import com.fasterxml.jackson.core.type.TypeReference;
import com.google.common.base.Function;
import com.google.common.base.Functions;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
import com.google.common.collect.Ordering;
import com.metamx.common.guava.MergeSequence;
@ -67,8 +66,8 @@ public class TimeBoundaryQueryQueryToolChest
}
return Lists.newArrayList(
Iterables.getFirst(input, null),
Iterables.getLast(input)
input.get(0),
input.get(input.size() - 1)
);
}