Author: markt Date: Mon Jun 14 21:23:49 2010 New Revision: 954651 URL: http://svn.apache.org/viewvc?rev=954651&view=rev Log: Remove an unused method
Modified: tomcat/trunk/java/org/apache/el/lang/ELSupport.java Modified: tomcat/trunk/java/org/apache/el/lang/ELSupport.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/el/lang/ELSupport.java?rev=954651&r1=954650&r2=954651&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/el/lang/ELSupport.java (original) +++ tomcat/trunk/java/org/apache/el/lang/ELSupport.java Mon Jun 14 21:23:49 2010 @@ -414,25 +414,6 @@ public class ELSupport { } } - public final static void checkType(final Object obj, final Class<?> type) - throws ELException { - if (String.class.equals(type)) { - coerceToString(obj); - } - if (ELArithmetic.isNumberType(type)) { - coerceToNumber(obj, type); - } - if (Character.class.equals(type) || Character.TYPE == type) { - coerceToCharacter(obj); - } - if (Boolean.class.equals(type) || Boolean.TYPE == type) { - coerceToBoolean(obj); - } - if (type.isEnum()) { - coerceToEnum(obj, type); - } - } - public final static Object coerceToType(final Object obj, final Class<?> type) throws ELException { if (type == null || Object.class.equals(type) || --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org