HuangZhenQiu commented on code in PR #25440: URL: https://github.com/apache/flink/pull/25440#discussion_r1798694472
########## flink-runtime/src/main/java/org/apache/flink/streaming/api/lineage/DefaultLineageGraph.java: ########## @@ -33,14 +33,15 @@ @Internal public class DefaultLineageGraph implements LineageGraph { @JsonProperty private final List<LineageEdge> lineageEdges; - @JsonProperty private final List<SourceLineageVertex> sources; - @JsonProperty private final List<LineageVertex> sinks; + @JsonProperty private List<SourceLineageVertex> sources; + @JsonProperty private List<LineageVertex> sinks; + private final Set<SourceLineageVertex> deduplicatedSources; Review Comment: Yes, it can be simplified with set only. Thanks for the feedback. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org