[
https://issues.apache.org/jira/browse/FLINK-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jark Wu closed FLINK-19409.
---------------------------
Fix Version/s: 1.12.0
Resolution: Fixed
Fixed in master: adedf07967efb05445dd7cd5b228a07fd65a60f8
> The comment for getValue has wrong code in class ListView
> ---------------------------------------------------------
>
> Key: FLINK-19409
> URL: https://issues.apache.org/jira/browse/FLINK-19409
> Project: Flink
> Issue Type: Improvement
> Components: Documentation, Table SQL / API
> Reporter: Liu
> Assignee: Liu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.12.0
>
>
> The comment for getValue is as following currently:
> {code:java}
> * @Override
> * public Long getValue(MyAccumulator accumulator) {
> * accumulator.list.add(id);
> * ... ...
> * accumulator.list.get()
> * ... ...
> * return accumulator.count;
> * }
> {code}
> Users may be confused with the code "accumulator.list.add(id); ". It should
> be removed.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)