[
https://issues.apache.org/jira/browse/FLINK-8364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16343373#comment-16343373
]
ASF GitHub Bot commented on FLINK-8364:
---------------------------------------
Github user StefanRRichter commented on the issue:
https://github.com/apache/flink/pull/5356
I wonder why we need to introduce a separate method for an iterator instead
of just changing the `get()` method to return `Collections.emptyList()` as
iterable in case of null value. Wouldn't that be more straight forward?
> Add iterator() to ListState which returns empty iterator when it has no value
> -----------------------------------------------------------------------------
>
> Key: FLINK-8364
> URL: https://issues.apache.org/jira/browse/FLINK-8364
> Project: Flink
> Issue Type: Improvement
> Components: State Backends, Checkpointing
> Affects Versions: 1.4.0
> Reporter: Bowen Li
> Assignee: Bowen Li
> Priority: Major
> Fix For: 1.5.0
>
>
> Add iterator() to ListState which returns empty iterator when it has no value
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)