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
..
2020-08-25 17:39:00 -04:00
2020-08-03 13:11:43 -05:00
2020-08-26 16:04:02 +02:00
2020-08-10 15:28:52 +02:00
2020-08-25 07:13:39 +02:00
2020-08-27 08:28:54 +01:00
2020-08-19 10:34:26 +02:00
2020-08-26 16:04:02 +02:00
2020-08-03 13:11:43 -05:00
2020-08-25 17:32:42 +03:00
2020-08-03 13:11:43 -05:00
2020-08-26 16:04:02 +02:00
2020-08-03 13:11:43 -05:00
2020-08-12 16:36:27 +01:00
2020-08-03 13:11:43 -05:00
2020-08-25 17:18:59 +01:00
2020-08-25 17:18:59 +01:00
2020-08-26 17:54:00 +03:00
2020-08-25 04:01:55 +02:00
2020-08-17 18:24:32 +03:00
2020-08-26 16:04:02 +02:00
2020-08-03 13:11:43 -05:00
2020-08-27 08:28:54 +01:00
2020-08-27 06:38:32 +01:00
2020-08-26 16:04:02 +02:00
2020-08-18 12:17:15 +03:00
2020-08-25 17:39:00 -04:00
2020-08-04 14:46:32 +02:00
2020-08-26 16:04:02 +02:00
2020-08-26 16:04:02 +02:00
2020-08-12 16:56:45 +02:00
2020-08-26 16:04:02 +02:00
2020-08-25 17:18:59 +01:00
2020-08-04 14:46:32 +02:00