[ https://issues.apache.org/jira/browse/FLINK-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabian Hueske resolved FLINK-1654. ---------------------------------- Resolution: Fixed FIxed with fd9ca4defd54fa150d33d042471e381e0a0a1164 > Wrong scala example of POJO type in documentation > ------------------------------------------------- > > Key: FLINK-1654 > URL: https://issues.apache.org/jira/browse/FLINK-1654 > Project: Flink > Issue Type: Bug > Components: Documentation > Affects Versions: 0.9 > Reporter: Chiwan Park > Assignee: Chiwan Park > Priority: Trivial > > In > [documentation|https://github.com/chiwanpark/flink/blob/master/docs/programming_guide.md#pojos], > there is a scala example of POJO > {code} > class WordWithCount(val word: String, val count: Int) { > def this() { > this(null, -1) > } > } > {code} > I think that this is wrong because Flink POJO required public fields or > private fields with getter and setter. Fields in scala class is private in > default. We should change the field declarations to use `var` keyword or > class declaration to case class. -- This message was sent by Atlassian JIRA (v6.3.4#6332)