• 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: NSArray parameter and warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArray parameter and warning


  • Subject: Re: NSArray parameter and warning
  • From: email@hidden
  • Date: Mon, 04 Feb 2013 16:38:00 -0500

In Eclipse, right click on the warning, select Quick Fix, and Add @SuppressWarnings...


On Feb 4, 2013, at 4:09 PM, yizi wang <email@hidden> wrote:

> I got warning for the following method:
>
>     public NSArray<User> users() {
>         return EOUtilities.objectsForEntityNamed(ec(), "User");
>     }
>
> It said that "Type safety: The expression of type NSArray needs unchecked conversion to conform to NSArray<User>"
>
> How to provide 'unchecked conversion'?, What's the recommended way to fix this?
>
> _______________________________________________
> 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

 _______________________________________________
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: 
 >NSArray parameter and warning (From: yizi wang <email@hidden>)

  • Prev by Date: NSArray parameter and warning
  • Next by Date: Re: quick pwd hash?
  • Previous by thread: NSArray parameter and warning
  • Next by thread: Re: NSArray parameter and warning
  • Index(es):
    • Date
    • Thread