mirror of https://github.com/apache/druid.git
fix compilation with Java 8
This commit is contained in:
parent
161c2f0fff
commit
b448deeca0
|
@ -131,7 +131,7 @@ public class RetryQueryRunnerTest
|
|||
@Override
|
||||
public Sequence run(Query query, Map context)
|
||||
{
|
||||
if (context.get("count") == 0) {
|
||||
if ((int)context.get("count") == 0) {
|
||||
((List) context.get(RetryQueryRunner.missingSegments)).add(
|
||||
new SegmentDescriptor(
|
||||
new Interval(
|
||||
|
@ -368,4 +368,4 @@ public class RetryQueryRunnerTest
|
|||
Assert.assertTrue("Should have one entry in the list of missing segments", ((List) context.get(RetryQueryRunner.missingSegments)).size() == 1);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue