[
https://issues.apache.org/jira/browse/AVRO-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13990666#comment-13990666
]
Herko ter Horst commented on AVRO-1301:
---------------------------------------
The effect of this omission is compounded by the fact that GenericData$Array
inherits both remove(Object e) and removeAll(Collection) from
AbstractCollection, which uses the iterator to remove items... As such,
removing items from such an array throws an UnsupportedOperationException.
This is a problem in our use case.
> Implement GenericData$Array$Iterator.remove()
> ---------------------------------------------
>
> Key: AVRO-1301
> URL: https://issues.apache.org/jira/browse/AVRO-1301
> Project: Avro
> Issue Type: Bug
> Components: java
> Reporter: Chris Porter
> Priority: Minor
> Attachments: AVRO-1303.patch
>
>
> GenericData.Array's iterator currently doesn't implement remove().
> The implementation is simple and makes the behaviour more consistent if
> you're working on an object that may or may not have been serialised.
--
This message was sent by Atlassian JIRA
(v6.2#6252)