mirror of
https://github.com/stleary/JSON-java.git
synced 2026-01-25 00:00:38 -05:00
more sonarcube fixes
This commit is contained in:
@@ -3895,7 +3895,8 @@ public class JSONObjectTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void issue743SerializationMapWith1000Objects() {
|
||||
public void issue743SerializationMapWith500Objects() {
|
||||
// TODO: find out why 1000 objects no longer works
|
||||
HashMap<String, Object> map = buildNestedMap(500);
|
||||
JSONParserConfiguration parserConfiguration = new JSONParserConfiguration().withMaxNestingDepth(500);
|
||||
JSONObject object = new JSONObject(map, parserConfiguration);
|
||||
|
||||
Reference in New Issue
Block a user