From 67ab701491c5a5b95470e1a3b06270ebf33fcafb Mon Sep 17 00:00:00 2001 From: Florian Schmidt Date: Tue, 30 Jan 2018 10:09:16 +0100 Subject: [PATCH] [FLINK-8524] Fix TypeExtractor.getBinaryReturnType JavaDoc The JavaDoc stated that the parameter `lambdaOutputTypeArgumentIndices` was a table of indices of the type argument specifying the input type, where it actually is a table of indices of the type argument specifying the output type. This is now fixed. This closes #5382. --- .../java/org/apache/flink/api/java/typeutils/TypeExtractor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flink-core/src/main/java/org/apache/flink/api/java/typeutils/TypeExtractor.java b/flink-core/src/main/java/org/apache/flink/api/java/typeutils/TypeExtractor.java index d8f07124ed4b6..1f76dc8847492 100644 --- a/flink-core/src/main/java/org/apache/flink/api/java/typeutils/TypeExtractor.java +++ b/flink-core/src/main/java/org/apache/flink/api/java/typeutils/TypeExtractor.java @@ -653,7 +653,7 @@ public static TypeInformation getUnaryOperatorReturnType( * @param outputTypeArgumentIndex Index of output type in the class specification * @param lambdaInput1TypeArgumentIndices Table of indices of the type argument specifying the first input type. See example. * @param lambdaInput2TypeArgumentIndices Table of indices of the type argument specifying the second input type. See example. - * @param lambdaOutputTypeArgumentIndices Table of indices of the type argument specifying the input type. See example. + * @param lambdaOutputTypeArgumentIndices Table of indices of the type argument specifying the output type. See example. * @param in1Type Type of the left side input elements (In case of an iterable, it is the element type) * @param in2Type Type of the right side input elements (In case of an iterable, it is the element type) * @param functionName Function name