Skip to content

Commit 8dc9641

Browse files
committed
remove toIntExact
1 parent 6bdfd69 commit 8dc9641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/index/codec/tsdb/es819/ES819TSDBDocValuesProducer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ static final class SortedOrdinalReader {
12071207
private long rangeEndExclusive = -1;
12081208

12091209
SortedOrdinalReader(long maxOrd, DirectMonotonicReader startDocs) {
1210-
this.maxOrd = Math.toIntExact(maxOrd);
1210+
this.maxOrd = maxOrd;
12111211
this.startDocs = startDocs;
12121212
}
12131213

0 commit comments

Comments
 (0)