You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Doug Cutting <cu...@apache.org> on 2011/01/04 20:24:31 UTC
Re: GenericData.Array doesn't support set(index, object)
On 12/20/2010 02:30 PM, Chase Bradford wrote:
> I get an UnsupportedOperationException when trying to use set() on a
> GenericData.Array backed list. Is this by design or can I submit a
> patch that implements it?
A patch would be welcome.
Thanks,
Doug
Re: GenericData.Array doesn't support set(index, object)
Posted by Chase Bradford <ch...@gmail.com>.
Great. I opened AVRO-730 and have attached a patch implementing
set(int, T) and remove().
Thanks,
Chase
On Tue, Jan 4, 2011 at 11:24 AM, Doug Cutting <cu...@apache.org> wrote:
> On 12/20/2010 02:30 PM, Chase Bradford wrote:
>>
>> I get an UnsupportedOperationException when trying to use set() on a
>> GenericData.Array backed list. Is this by design or can I submit a
>> patch that implements it?
>
> A patch would be welcome.
>
> Thanks,
>
> Doug
>
--
Chase Bradford
“If in physics there's something you don't understand, you can always
hide behind the uncharted depths of nature. But if your program
doesn't work, there is no obstinate nature. If it doesn't work, you've
messed up.”
- Edsger Dijkstra