From 4f71469cbe0106c05dfa8698ffc71f56f85c1acf Mon Sep 17 00:00:00 2001 From: markt Date: Thu, 14 Jan 2010 22:45:43 +0000 Subject: [PATCH] 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 --- java/org/apache/el/parser/AstIdentifier.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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()); } -- 2.11.0