flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmetzger <...@git.apache.org>
Subject [GitHub] incubator-flink pull request: [FLINK-1245] Introduce TypeHints for...
Date Sat, 06 Dec 2014 13:00:18 GMT
Github user rmetzger commented on a diff in the pull request:

    https://github.com/apache/incubator-flink/pull/203#discussion_r21416441
  
    --- 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 --
    
    spaces vs tabs?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message