Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Nov 5, 2020
1 parent ab13b03 commit af60554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/alibaba/fastjson/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ private static void config(Properties properties) {

{
if ("false".equals(properties.getProperty("fastjson.asmEnable"))) {
ParserConfig.getGlobalInstance().setAsmEnable(false);
SerializeConfig.getGlobalInstance().setAsmEnable(false);
ParserConfig.global.setAsmEnable(false);
SerializeConfig.globalInstance.setAsmEnable(false);
}
}
}
Expand Down

0 comments on commit af60554

Please sign in to comment.