You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/08/09 02:51:44 UTC

[GitHub] [inlong] gong commented on a diff in pull request #5410: [INLONG-5409][Manager] Fix json serialization for class BaseSortConf

gong commented on code in PR #5410:
URL: https://github.com/apache/inlong/pull/5410#discussion_r940837205


##########
inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/sort/BaseSortConf.java:
##########
@@ -29,8 +29,6 @@
 @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, visible = true, property = "sortType")
 public abstract class BaseSortConf {
 
-    public String sortType;

Review Comment:
   It don't need declare `sortType` field. Annotation will generate sortType data when serialization



-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org