This content has been marked as final.
Show 1 reply
-
1. Re: The expression of type List needs unchecked conversion t
maxandersen Oct 28, 2007 8:29 AM (in response to terryb)This is a standard Java 5 compiler warning - nothing RHDS specific about it.
The reason is that getResultList cannot deduce which type will be returned.
To supress this warning explicitly you can annotated the code that uses it with @SuppressWarnings("unchecked")
or you can disable it in the compiler preferences if you don't care for the warning at all.