Remove now-unnecessary cast
Original commit: elastic/x-pack-elasticsearch@fcbbe5a919
This commit is contained in:
parent
f341b336a5
commit
6147e2ba6a
|
@ -248,7 +248,7 @@ public class DatafeedConfig extends AbstractDiffable<DatafeedConfig> implements
|
|||
if (dateHistogram.dateHistogramInterval() != null) {
|
||||
return validateAndGetCalendarInterval(dateHistogram.dateHistogramInterval().toString());
|
||||
} else {
|
||||
return (long) dateHistogram.interval();
|
||||
return dateHistogram.interval();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue