Correct long line length
Original commit: elastic/x-pack-elasticsearch@e77f473b5b
This commit is contained in:
parent
74d06216c2
commit
14c88ca15f
|
@ -246,7 +246,8 @@ class AggregationToJsonProcessor {
|
||||||
|
|
||||||
Long timeStamp = (Long) copy.get(timeField);
|
Long timeStamp = (Long) copy.get(timeField);
|
||||||
if (timeStamp == null) {
|
if (timeStamp == null) {
|
||||||
throw new IllegalArgumentException(Messages.getMessage(Messages.DATAFEED_MISSING_MAX_AGGREGATION_FOR_TIME_FIELD, timeField));
|
throw new IllegalArgumentException(
|
||||||
|
Messages.getMessage(Messages.DATAFEED_MISSING_MAX_AGGREGATION_FOR_TIME_FIELD, timeField));
|
||||||
}
|
}
|
||||||
|
|
||||||
docsByBucketTimestamp.computeIfAbsent(timeStamp, (t) -> new ArrayList<>()).add(copy);
|
docsByBucketTimestamp.computeIfAbsent(timeStamp, (t) -> new ArrayList<>()).add(copy);
|
||||||
|
|
Loading…
Reference in New Issue