healchow commented on code in PR #4499:
URL: https://github.com/apache/incubator-inlong/pull/4499#discussion_r887805070
##########
inlong-manager/manager-client-tools/src/main/java/org/apache/inlong/manager/client/cli/CreateCommand.java:
##########
@@ -64,8 +65,9 @@ void run() {
System.out.println("Create group failed: file was empty!");
return;
}
-
- CreateGroupConf groupConf =
GsonUtils.GSON.fromJson(fileContent, CreateGroupConf.class);
+ ObjectMapper objectMapper = new ObjectMapper();
Review Comment:
Please use a global instance of `ObjectMapper`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]