• 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: Enumeration cannot be resolved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enumeration cannot be resolved


  • Subject: Re: Enumeration cannot be resolved
  • From: Lachlan Deck <email@hidden>
  • Date: Sat, 11 Oct 2008 15:59:26 +1100

On 10/10/2008, at 5:36 AM, Soles, James T (Terry) wrote:

Now that I look closer it appears that the problem is not with
Enumeration itself but how we were using it.

NSMutableArray temp =
(NSMutableArray
)EOUtilities.objectsMatchingKeyAndValue(this.editingConte
xt(), "RMInboxItem", "iKeyValue",this.primaryKey());
RMInboxItem inbox;
Enumeration enum=temp.objectEnumerator();

The problem is that enum is a reserved word in Java1.5.

while(enum.hasMoreElements())
{


with regards,
--

Lachlan Deck



_______________________________________________
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: 
 >Enumeration cannot be resolved (From: "Soles, James T (Terry)" <email@hidden>)
 >Re: Enumeration cannot be resolved (From: Chuck Hill <email@hidden>)
 >RE: Enumeration cannot be resolved (From: "Soles, James T (Terry)" <email@hidden>)

  • Prev by Date: Re: Can't get automatic inverse relationships to work
  • Next by Date: Re: WORadioButton error
  • Previous by thread: Re: Enumeration cannot be resolved
  • Next by thread: Hyperlink and saveChanges
  • Index(es):
    • Date
    • Thread