On Jul 28, 2006, at 4:38 AM, ant elder wrote:
I've had to use (and the groovy container does also) quite a lot of
@SuppressWarnings("unchecked"), eg in the JavaScriptComponent class. Is
there some things I can do with generics to avoid these?

I think some of these can be removed if we change the signature of ScopeContainer.getInstance() to
   <T> T getInstance(AtomicComponent component)

which removes the need to cast the response. I'll give it a go and commit it if it works.
--
Jeremy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to