From: markt Date: Mon, 14 Jun 2010 21:23:49 +0000 (+0000) Subject: Remove an unused method X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6bbf4f011d1fc97829c8b67aae5caa7fd68c3840;p=tomcat7.0 Remove an unused method git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@954651 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/el/lang/ELSupport.java b/java/org/apache/el/lang/ELSupport.java index 8728f25a6..ba25253ef 100644 --- a/java/org/apache/el/lang/ELSupport.java +++ b/java/org/apache/el/lang/ELSupport.java @@ -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) ||