Repository: flink Updated Branches: refs/heads/master 84e76f4d3 -> fd9ca4def
[FLINK-1654] [docs] Fix scala example in programming guide This closes #478 Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/fd9ca4de Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/fd9ca4de Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/fd9ca4de Branch: refs/heads/master Commit: fd9ca4defd54fa150d33d042471e381e0a0a1164 Parents: 84e76f4 Author: Chiwan Park <chiwanp...@icloud.com> Authored: Wed Mar 11 10:40:17 2015 +0900 Committer: Fabian Hueske <fhue...@apache.org> Committed: Wed Mar 11 18:06:42 2015 +0100 ---------------------------------------------------------------------- docs/programming_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/fd9ca4de/docs/programming_guide.md ---------------------------------------------------------------------- diff --git a/docs/programming_guide.md b/docs/programming_guide.md index ee1138c..e1c79ee 100644 --- a/docs/programming_guide.md +++ b/docs/programming_guide.md @@ -1431,7 +1431,7 @@ public class WordWithCount { </div> <div data-lang="scala" markdown="1"> {% highlight scala %} -class WordWithCount(val word: String, val count: Int) { +class WordWithCount(var word: String, var count: Int) { def this() { this(null, -1) }