• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Issues with ERXArrayUtilities.arrayMinusArray() and arrayMinusObject()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
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

References: 
 >Issues with ERXArrayUtilities.arrayMinusArray() and arrayMinusObject() (From: Paul Hoadley <email@hidden>)
 >Re: Issues with ERXArrayUtilities.arrayMinusArray() and arrayMinusObject() (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: Issues with ERXArrayUtilities.arrayMinusArray() and arrayMinusObject()
  • Next by Date: Occasional NPEs from ERXTimeZoneDetector
  • Previous by thread: Re: Issues with ERXArrayUtilities.arrayMinusArray() and arrayMinusObject()
  • Next by thread: Occasional NPEs from ERXTimeZoneDetector
  • Index(es):
    • Date
    • Thread