Remove unused code. No functional change.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 18 Apr 2008 18:08:31 +0000 (18:08 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 18 Apr 2008 18:08:31 +0000 (18:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@649637 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/el/lang/ELSupport.java

index e076afb..18a53bc 100644 (file)
@@ -36,8 +36,6 @@ import org.apache.el.util.MessageFactory;
  */
 public class ELSupport {
 
-    private final static ELSupport REF = new ELSupport();
-
     private final static Long ZERO = new Long(0L);
 
     public final static void throwUnhandled(Object base, Object property)
@@ -426,9 +424,8 @@ public class ELSupport {
     public final static boolean isStringFloat(final String str) {
         int len = str.length();
         if (len > 1) {
-            char c = 0;
             for (int i = 0; i < len; i++) {
-                switch (c = str.charAt(i)) {
+                switch (str.charAt(i)) {
                 case 'E':
                     return true;
                 case 'e':