tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r649637 - /tomcat/trunk/java/org/apache/el/lang/ELSupport.java
Date Fri, 18 Apr 2008 18:08:32 GMT
Author: markt
Date: Fri Apr 18 11:08:31 2008
New Revision: 649637

URL: http://svn.apache.org/viewvc?rev=649637&view=rev
Log:
Remove unused code. No functional change.

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=649637&r1=649636&r2=649637&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/el/lang/ELSupport.java (original)
+++ tomcat/trunk/java/org/apache/el/lang/ELSupport.java Fri Apr 18 11:08:31 2008
@@ -36,8 +36,6 @@
  */
 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 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':



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message