You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2016/07/14 20:40:20 UTC
[jira] [Closed] (FLINK-4216) WordWithCount example with Java has
wrong generics type
[ https://issues.apache.org/jira/browse/FLINK-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Ewen closed FLINK-4216.
-------------------------------
> 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
> Assignee: Matthias J. Sax
> Priority: Trivial
> Fix For: 1.1.0
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> The Java example of the POJOs results in the:
> {code}
> Exception in thread "main" java.lang.Error: Unresolved compilation problem:
> {code}
> due to the wrong type of the generics of the DataStream.
> Currently it is {code}DataStream<Tuple2<String,Integer>>{code}
> but should be {code}DataSource<WordWithCount>{code}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)