Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit af60554

Browse files
committed
refactor
1 parent ab13b03 commit af60554

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/alibaba/fastjson/JSON.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ private static void config(Properties properties) {
126126

127127
{
128128
if ("false".equals(properties.getProperty("fastjson.asmEnable"))) {
129-
ParserConfig.getGlobalInstance().setAsmEnable(false);
130-
SerializeConfig.getGlobalInstance().setAsmEnable(false);
129+
ParserConfig.global.setAsmEnable(false);
130+
SerializeConfig.globalInstance.setAsmEnable(false);
131131
}
132132
}
133133
}

0 commit comments

Comments
 (0)