mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -14,13 +14,13 @@ import java.util.Map;
|
||||
*/
|
||||
public class Issue2749Test {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Test
|
||||
@Ignore
|
||||
public void jsonObjectTest() {
|
||||
final Map<String, Object> map = new HashMap<>(1, 1f);
|
||||
Map<String, Object> node = map;
|
||||
for (int i = 0; i < 1000; i++) {
|
||||
//noinspection unchecked
|
||||
node = (Map<String, Object>) node.computeIfAbsent("a", k -> new HashMap<String, Object>(1, 1f));
|
||||
}
|
||||
node.put("a", 1);
|
||||
|
Reference in New Issue
Block a user