You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by wa...@apache.org on 2023/02/16 07:58:12 UTC
[flink] branch release-1.17 updated: [FLINK-27800][streaming] Fix the error check in StreamNode#addInEdge
This is an automated email from the ASF dual-hosted git repository.
wanglijie pushed a commit to branch release-1.17
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.17 by this push:
new b64739a5ef9 [FLINK-27800][streaming] Fix the error check in StreamNode#addInEdge
b64739a5ef9 is described below
commit b64739a5ef976e003bf87250b41ae1142e541497
Author: Licho <le...@gmail.com>
AuthorDate: Thu Feb 16 15:49:48 2023 +0800
[FLINK-27800][streaming] Fix the error check in StreamNode#addInEdge
This closes #19824
---
.../main/java/org/apache/flink/streaming/api/graph/StreamNode.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamNode.java b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamNode.java
index 3a76cb7585d..e17da43649e 100644
--- a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamNode.java
+++ b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamNode.java
@@ -133,8 +133,8 @@ public class StreamNode {
public void addInEdge(StreamEdge inEdge) {
checkState(
- outEdges.stream().noneMatch(inEdge::equals),
- "Adding not unique edge = %s to existing outEdges = %s",
+ inEdges.stream().noneMatch(inEdge::equals),
+ "Adding not unique edge = %s to existing inEdges = %s",
inEdge,
inEdges);
if (inEdge.getTargetId() != getId()) {