[FLINK-4216] [docs] Fixed example. This closes #2246 This closes #2247
Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/23464684 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/23464684 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/23464684 Branch: refs/heads/master Commit: 2346468446414b2a14c2833be4d60288cd8d0550 Parents: 91d5c63 Author: mjsax <[email protected]> Authored: Thu Jul 14 11:24:28 2016 +0200 Committer: Stephan Ewen <[email protected]> Committed: Thu Jul 14 21:42:41 2016 +0200 ---------------------------------------------------------------------- docs/apis/common/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/23464684/docs/apis/common/index.md ---------------------------------------------------------------------- diff --git a/docs/apis/common/index.md b/docs/apis/common/index.md index 559d509..ea7c0af 100644 --- a/docs/apis/common/index.md +++ b/docs/apis/common/index.md @@ -840,7 +840,7 @@ public class WordWithCount { } } -DataStream<Tuple2<String, Integer>> wordCounts = env.fromElements( +DataStream<WordWithCount> wordCounts = env.fromElements( new WordWithCount("hello", 1), new WordWithCount("world", 2)); @@ -1349,4 +1349,4 @@ that you have set `jobmanager.web.submit.enable: true` in `flink-conf.yaml`. You may specify program arguments before the job is executed. The plan visualization enables you to show the execution plan before executing the Flink job. -{% top %} \ No newline at end of file +{% top %}
