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


On Feb 4, 2013, at 4:09 PM, yizi wang <[email protected]> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/speery%40me.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to