More checkstyle fixes

Original commit: elastic/x-pack-elasticsearch@f68e57835b
This commit is contained in:
David Roberts 2017-02-03 16:32:09 +00:00
parent 55482ca65c
commit fb0ccde8d8
2 changed files with 4 additions and 4 deletions

View File

@ -23,8 +23,8 @@ class ChunkedDataExtractorContext {
final long end;
final Long chunkSpan;
public ChunkedDataExtractorContext(String jobId, String timeField, List<String> indexes, List<String> types,
QueryBuilder query, int scrollSize, long start, long end, @Nullable Long chunkSpan) {
ChunkedDataExtractorContext(String jobId, String timeField, List<String> indexes, List<String> types,
QueryBuilder query, int scrollSize, long start, long end, @Nullable Long chunkSpan) {
this.jobId = Objects.requireNonNull(jobId);
this.timeField = Objects.requireNonNull(timeField);
this.indexes = indexes.toArray(new String[indexes.size()]);

View File

@ -52,7 +52,7 @@ public class ChunkedDataExtractorTests extends ESTestCase {
private SearchResponse nextResponse;
public TestDataExtractor(long start, long end) {
TestDataExtractor(long start, long end) {
super(client, dataExtractorFactory, createContext(start, end));
}
@ -471,4 +471,4 @@ public class ChunkedDataExtractorTests extends ESTestCase {
// do nothing
}
}
}
}