Commit d881a49
Use Integer.MIN_VALUE in coerceFromLong range check
Make the Integer range check consistent with Short and Byte conversions
by using Integer.MIN_VALUE instead of checking for < 0. This ensures all
narrowing conversions follow the same pattern and correctly handle the
full range of Integer values.
Addresses PR feedback in #309.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 5f3ac3b commit d881a49
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
0 commit comments