Re: FYI: Possible buggy EOGenerator code?
Re: FYI: Possible buggy EOGenerator code?
- Subject: Re: FYI: Possible buggy EOGenerator code?
- From: Christian Pekeler <email@hidden>
- Date: Thu, 30 Dec 2004 15:20:38 -0700
Or use a reverse enumeration. Even though the documentation
(http://tinyurl.com/5ekoz) for reverseObjectEnumerator() warns of
modifying the collection, it has always worked fine in my experience.
Christian
Never alter a collection that you are enumerating.
Enumeration objects = regions().objectEnumerator();
while ( objects.hasMoreElements() )
deleteRegionsRelationship((CTRegion)objects.nextElement());
_______________________________________________
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