diff --git a/impl/src/main/java/com/sun/el/parser/AstFunction.java b/impl/src/main/java/com/sun/el/parser/AstFunction.java index 3dca551c..04550574 100644 --- a/impl/src/main/java/com/sun/el/parser/AstFunction.java +++ b/impl/src/main/java/com/sun/el/parser/AstFunction.java @@ -79,7 +79,6 @@ public Class getType(EvaluationContext ctx) throws ELException { * Find the object associated with the given name. Return null if the there is no such object. */ private Object findValue(EvaluationContext ctx, String name) { - Object value; // First check if this is a Lambda argument if (ctx.isLambdaArgument(name)) { return ctx.getLambdaArgument(name); diff --git a/impl/src/main/java/com/sun/el/util/ReflectionUtil.java b/impl/src/main/java/com/sun/el/util/ReflectionUtil.java index 8458a4e4..ec489e1e 100644 --- a/impl/src/main/java/com/sun/el/util/ReflectionUtil.java +++ b/impl/src/main/java/com/sun/el/util/ReflectionUtil.java @@ -129,7 +129,6 @@ public static String[] toTypeNameArray(Class[] c) { */ public static PropertyDescriptor getPropertyDescriptor(Object base, Object property) throws ELException, PropertyNotFoundException { String name = ELSupport.coerceToString(property); - PropertyDescriptor p = null; try { PropertyDescriptor[] desc = Introspector.getBeanInfo(base.getClass()).getPropertyDescriptors(); for (int i = 0; i < desc.length; i++) {