From: markt Date: Thu, 14 Jan 2010 22:45:43 +0000 (+0000) Subject: No need to supress these warnings. They cxan be fixed. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4f71469cbe0106c05dfa8698ffc71f56f85c1acf;p=tomcat7.0 No need to supress these warnings. They cxan be fixed. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@899452 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/el/parser/AstIdentifier.java b/java/org/apache/el/parser/AstIdentifier.java index a8fc3e2a8..ee09ac721 100644 --- a/java/org/apache/el/parser/AstIdentifier.java +++ b/java/org/apache/el/parser/AstIdentifier.java @@ -92,19 +92,15 @@ public final class AstIdentifier extends SimpleNode { } @Override - // Interface el.parser.Node uses raw types (and is auto-generated) - public Object invoke(EvaluationContext ctx, - @SuppressWarnings("unchecked") Class[] paramTypes, + public Object invoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues) throws ELException { return this.getMethodExpression(ctx).invoke(ctx.getELContext(), paramValues); } @Override - // Interface el.parser.Node uses raw types (and is auto-generated) - public MethodInfo getMethodInfo(EvaluationContext ctx, - @SuppressWarnings("unchecked") Class[] paramTypes) - throws ELException { + public MethodInfo getMethodInfo(EvaluationContext ctx, + Class[] paramTypes) throws ELException { return this.getMethodExpression(ctx).getMethodInfo(ctx.getELContext()); }