You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Chase Bradford (JIRA)" <ji...@apache.org> on 2011/01/10 05:38:51 UTC
[jira] Updated: (AVRO-730) Implement set and remove methods from
List interface on GenericData.Array
[ https://issues.apache.org/jira/browse/AVRO-730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chase Bradford updated AVRO-730:
--------------------------------
Attachment: AVRO-730.patch
This patch adds implementations for remove(int index) and set(int index, T object).
> Implement set and remove methods from List interface on GenericData.Array
> -------------------------------------------------------------------------
>
> Key: AVRO-730
> URL: https://issues.apache.org/jira/browse/AVRO-730
> Project: Avro
> Issue Type: New Feature
> Components: java
> Affects Versions: 1.4.1
> Reporter: Chase Bradford
> Attachments: AVRO-730.patch
>
>
> GenericData.Array throws an UnsupportedOperationException when set() or remove() are used on an instance of it. I think it's reasonable for those methods to work though, since their implementation is simple and inline with most other List types.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.