tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: svn commit: r791139 - in /tomcat/trunk/java/org/apache/jasper/el: ELContextWrapper.java ExpressionEvaluatorImpl.java
Date Sat, 04 Jul 2009 18:32:46 GMT
2009/7/4  <markt@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message