From 6bbf4f011d1fc97829c8b67aae5caa7fd68c3840 Mon Sep 17 00:00:00 2001 From: markt Date: Mon, 14 Jun 2010 21:23:49 +0000 Subject: [PATCH] Remove an unused method git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@954651 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/el/lang/ELSupport.java | 19 ------------------- 1 file changed, 19 deletions(-) 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) || -- 2.11.0