No need to supress these warnings. They cxan be fixed.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 14 Jan 2010 22:45:43 +0000 (22:45 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 14 Jan 2010 22:45:43 +0000 (22:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@899452 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/el/parser/AstIdentifier.java

index a8fc3e2..ee09ac7 100644 (file)
@@ -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());
     }