[docs] Trivial typo in example code: o -> out. This closes #280
Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/232b0ebb Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/232b0ebb Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/232b0ebb Branch: refs/heads/release-0.8 Commit: 232b0ebba1a24a9637f8cf8bcf979ee7784ffa15 Parents: bf85c00 Author: Erich Schubert <[email protected]> Authored: Fri Jan 2 19:56:57 2015 +0100 Committer: mbalassi <[email protected]> Committed: Tue Jan 6 00:13:08 2015 +0100 ---------------------------------------------------------------------- docs/java8_programming_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/232b0ebb/docs/java8_programming_guide.md ---------------------------------------------------------------------- diff --git a/docs/java8_programming_guide.md b/docs/java8_programming_guide.md index a47ff69..da715a8 100644 --- a/docs/java8_programming_guide.md +++ b/docs/java8_programming_guide.md @@ -68,7 +68,7 @@ DataSet<String> input = env.fromElements(1, 2, 3); // collector type must not be declared, it is inferred from the type of the dataset DataSet<String> manyALetters = input.flatMap((number, out) -> { for(int i = 0; i < number; i++) { - o.collect("a"); + out.collect("a"); } });
