You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2018/06/13 07:19:22 UTC

flink git commit: [hotfix] Correct preconditions check in TypeExtractor#getBinaryOperatorReturnType

Repository: flink
Updated Branches:
  refs/heads/master 7cad1d33a -> fdabce033


[hotfix] Correct preconditions check in TypeExtractor#getBinaryOperatorReturnType


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/fdabce03
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/fdabce03
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/fdabce03

Branch: refs/heads/master
Commit: fdabce0339a5ba89787f8719e463cd01f35b4601
Parents: 7cad1d3
Author: Till Rohrmann <tr...@apache.org>
Authored: Wed Jun 13 09:18:41 2018 +0200
Committer: Till Rohrmann <tr...@apache.org>
Committed: Wed Jun 13 09:18:41 2018 +0200

----------------------------------------------------------------------
 .../java/org/apache/flink/api/java/typeutils/TypeExtractor.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/fdabce03/flink-core/src/main/java/org/apache/flink/api/java/typeutils/TypeExtractor.java
----------------------------------------------------------------------
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 1f76dc8..f514384 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
@@ -690,7 +690,7 @@ public class TypeExtractor {
 					lambdaInput1TypeArgumentIndices != null && lambdaInput1TypeArgumentIndices.length >= 1,
 					"Indices for first input type arguments within lambda not provided");
 				Preconditions.checkArgument(
-					lambdaInput2TypeArgumentIndices != null && lambdaInput1TypeArgumentIndices.length >= 1,
+					lambdaInput2TypeArgumentIndices != null && lambdaInput2TypeArgumentIndices.length >= 1,
 					"Indices for second input type arguments within lambda not provided");
 				Preconditions.checkArgument(
 					lambdaOutputTypeArgumentIndices != null,