Re: Issues with ERXArrayUtilities.arrayMinusArray() and arrayMinusObject()
Re: Issues with ERXArrayUtilities.arrayMinusArray() and arrayMinusObject()
- Subject: Re: Issues with ERXArrayUtilities.arrayMinusArray() and arrayMinusObject()
- From: Paul Hoadley <email@hidden>
- Date: Sat, 16 Apr 2016 16:50:01 +0930
Hi Johann,On 16 Apr 2016, at 4:15 pm, Johann Werner < email@hidden> wrote:
I think I have narrowed it down: the behaviour of the old and new methods are different with respect to duplicate objects in the supplied array. Specifically, if the object to be removed is present more than once in the array, the old method removes all references to it, the new method removes a single reference to it. Here’s a demonstration:
that is annoying. I created a pull request to overcome this problem (https://github.com/wocommunity/wonder/pull/734). The goal was to try to stick to official Java API and cut down WO specific functions (dreaming of replacing WO specific classes with plain Java implementations ;-). Please have a look at it and check if that suits you.
Looks good to me, thanks Johann. I’ll merge it.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden