2009/7/4  <ma...@apache.org>:
> Author: markt
> Date: Sat Jul  4 15:46:47 2009
> New Revision: 791139
>
> URL: http://svn.apache.org/viewvc?rev=791139&view=rev
> Log:
> Fix generics warnings
>
> Modified:
>    tomcat/trunk/java/org/apache/jasper/el/ELContextWrapper.java
>    tomcat/trunk/java/org/apache/jasper/el/ExpressionEvaluatorImpl.java
>

Eclipse IDE has two complaints after this change (and flags them as
compilation errors), that

* Name clash: The method getContext(Class<?>) of type ELContextWrapper
has the same erasure as getContext(Class) of type ELContext but does
not override it
* Name clash: The method putContext(Class<?>, Object) of type
ELContextWrapper has the same erasure as putContext(Class, Object) of
type ELContext but does not override it

It can be solved by updating declarations of those methods in class ELContext,
s/ Class / Class<?> /

Maybe you have already done so, but have not committed yet?

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to