healchow commented on code in PR #4511:
URL: https://github.com/apache/incubator-inlong/pull/4511#discussion_r889634822
##########
inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/impl/InlongGroupImpl.java:
##########
@@ -267,7 +269,7 @@ private InlongGroupContext generateSnapshot() {
logList.stream().filter(x ->
StringUtils.isNotEmpty(x.getComponentName()))
.forEach(streamLog -> {
String componentName =
streamLog.getComponentName();
- String log = JsonUtils.toJsonString(streamLog);
+ String log = toJsonString(streamLog);
Review Comment:
No need to use a static import, just use `JsonUtils.toJsonString` is more
clearly.
--
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]