NSArray parameter and warning
NSArray parameter and warning
- Subject: NSArray parameter and warning
- From: yizi wang <email@hidden>
- Date: Mon, 04 Feb 2013 14:09:47 -0700
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