OpenSearch/x-pack/plugin/searchable-snapshots
David Turner 5df74cc888 Replace Math.toIntExact with toIntBytes (#61604)
We convert longs to ints using `Math.toIntExact` in places where we're
sure there will be no overflow, but this doesn't explain the intent of
these conversions very well. This commit introduces a dedicated method
for these conversions, and adds an assertion that we never overflow.
2020-08-27 08:28:54 +01:00
..
qa Introduce cache index for searchable snapshots (#61595) 2020-08-27 06:38:32 +01:00
src Replace Math.toIntExact with toIntBytes (#61604) 2020-08-27 08:28:54 +01:00
build.gradle [7.x] Cleanup xpack build.gradle (#60554) (#60603) 2020-08-03 13:11:43 -05:00