On 08/29/2013 06:51 PM, Ed Merks wrote:
public E[] getElements(I inputElement) {
return (E[])inputElement.toArray();
}
I may have missed something, but wouldn't the following implementation
be a valid solution?
public E[] getElements(I inputElement) {
return inputElement.toArray(new E[inputElement.size()]);
}
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets
<http://twitter.com/mickaelistria>
_______________________________________________
cross-project-issues-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev