Skip to content

Commit

Permalink
refactor testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed May 1, 2022
1 parent b7a0583 commit 9147d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/test/java/com/alibaba/fastjson2/TestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ public static ObjectWriterCreator writerCreator(ClassLoader classLoader) {
}

public static <T> ObjectReader<T> of(Class<T> objectType) {
return ObjectReaderCreatorASM.INSTANCE.createObjectReader(objectType);
return READER_CREATOR.createObjectReader(objectType);
}
}

0 comments on commit 9147d8e

Please sign in to comment.