Author: markt Date: Fri Feb 21 11:45:35 2014 New Revision: 1570538 URL: http://svn.apache.org/r1570538 Log: Use varargs
Modified: tomcat/tc7.0.x/trunk/java/javax/el/BeanELResolver.java Modified: tomcat/tc7.0.x/trunk/java/javax/el/BeanELResolver.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/javax/el/BeanELResolver.java?rev=1570538&r1=1570537&r2=1570538&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/java/javax/el/BeanELResolver.java (original) +++ tomcat/tc7.0.x/trunk/java/javax/el/BeanELResolver.java Fri Feb 21 11:45:35 2014 @@ -108,8 +108,7 @@ public class BeanELResolver extends ELRe throw (VirtualMachineError) cause; } throw new ELException(Util.message(context, "propertyReadError", - new Object[] { base.getClass().getName(), - property.toString() }), cause); + base.getClass().getName(), property.toString()), cause); } catch (Exception e) { throw new ELException(e); } @@ -131,8 +130,7 @@ public class BeanELResolver extends ELRe if (this.readOnly) { throw new PropertyNotWritableException(Util.message(context, - "resolverNotWriteable", new Object[] { base.getClass() - .getName() })); + "resolverNotWriteable", base.getClass().getName())); } Method m = this.property(context, base, property).write(context); @@ -149,8 +147,7 @@ public class BeanELResolver extends ELRe throw (VirtualMachineError) cause; } throw new ELException(Util.message(context, "propertyWriteError", - new Object[] { base.getClass().getName(), - property.toString() }), cause); + base.getClass().getName(), property.toString()), cause); } catch (Exception e) { throw new ELException(e); } @@ -267,8 +264,7 @@ public class BeanELResolver extends ELRe BeanProperty property = this.properties.get(name); if (property == null) { throw new PropertyNotFoundException(Util.message(ctx, - "propertyNotFound", - new Object[] { type.getName(), name })); + "propertyNotFound", type.getName(), name)); } return property; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org