Github user twalthr commented on a diff in the pull request:

    https://github.com/apache/incubator-flink/pull/203#discussion_r21416482
  
    --- Diff: 
flink-java8/src/test/java/org/apache/flink/api/java/type/lambdas/LambdaExtractionTest.java
 ---
    @@ -129,10 +129,12 @@ public void testMapLambda() {
                MapFunction<Tuple2<Tuple1<Integer>, Boolean>, 
Tuple2<Tuple1<Integer>, String>> f = (i) -> null;
                
                TypeInformation<?> ti = TypeExtractor.getMapReturnTypes(f, 
TypeInfoParser.parse("Tuple2<Tuple1<Integer>, Boolean>"));
    -           Assert.assertTrue(ti.isTupleType());
    -           Assert.assertEquals(2, ti.getArity());
    -           Assert.assertTrue(((TupleTypeInfo<?>) 
ti).getTypeAt(0).isTupleType());
    -           Assert.assertEquals(((TupleTypeInfo<?>) ti).getTypeAt(1), 
BasicTypeInfo.STRING_TYPE_INFO);
    +        if (ti != null) {
    --- End diff --
    
    Sorry, I'm always have to switch between IntelliJ and Eclipse when I'm 
using Lambdas. I should configure IntelliJ to use Tabs. Will correct that...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to