rkhachatryan commented on a change in pull request #13465:
URL: https://github.com/apache/flink/pull/13465#discussion_r494290970



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/io/InputProcessorUtil.java
##########
@@ -56,12 +59,13 @@ public static CheckpointedInputGate 
createCheckpointedInputGate(
                        taskIOMetricGroup,
                        taskName,
                        mailboxExecutor,
-                       Arrays.asList(inputGates));
+                       new List[]{ Arrays.asList(inputGates) },

Review comment:
       Currently, they are array-of-lists and a list:
   ```
   List<IndexedInputGate>[] inputGates,
   List<StreamTaskSourceInput<?>> sourceInputs)
   ```
   So changing one array to vararg doesn't change consistency:
   ```
   List<StreamTaskSourceInput<?>> sourceInputs,
   List<IndexedInputGate>... inputGates)
   ```




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to