[ 
https://issues.apache.org/jira/browse/FLINK-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376724#comment-15376724
 ] 

ASF GitHub Bot commented on FLINK-4216:
---------------------------------------

Github user serhiy commented on the issue:

    https://github.com/apache/flink/pull/2247
  
    Fast fix of the https://issues.apache.org/jira/browse/FLINK-4216 
(originally reported at 
http://stackoverflow.com/questions/38323855/code-given-in-flink-documentation-does-not-compile/
 by Ankit Jidal)


> WordWithCount example with Java has wrong generics type
> -------------------------------------------------------
>
>                 Key: FLINK-4216
>                 URL: https://issues.apache.org/jira/browse/FLINK-4216
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Serhiy Boychenko
>            Priority: Trivial
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> The Java example of the POJOs results in the:
> Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
> due to the wrong type of the generics of the DataStream.
> Currently it is DataStream<Tuple2<String,Integer>>, but should be 
> DataSource<WordWithCount>.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to