#1063: add comment to expected-exception catch block (SonarCloud java:S108)

Co-Authored-By: Claude <[email protected]>
This commit is contained in:
Mirko Swillus
2026-07-14 13:36:46 +02:00
co-authored by Claude
parent fce83c91bb
commit e40d933d50
@@ -1385,6 +1385,7 @@ public class JSONObjectTest {
jo.getBigInteger("x");
fail("getBigInteger should throw for huge exponent");
} catch (JSONException expected) {
// expected: integer part exceeds DEFAULT_MAX_NUMBER_LENGTH digits
}
// String path: value put() as a String, exercised via objectToBigInteger's