flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhijiangW <...@git.apache.org>
Subject [GitHub] flink pull request #4485: [FLINK-7378][core]Create a fix size (non rebalanci...
Date Fri, 15 Sep 2017 07:47:06 GMT
Github user zhijiangW commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4485#discussion_r139083671
  
    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/SingleInputGate.java
---
    @@ -333,7 +333,7 @@ public void updateInputChannel(InputChannelDeploymentDescriptor icdd)
throws IOE
     
     			InputChannel current = inputChannels.get(partitionId);
     
    -			if (current.getClass() == UnknownInputChannel.class) {
    +			if (current instanceof UnknownInputChannel) {
    --- End diff --
    
    agree


---

Mime
View raw message