tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r699236 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/el/lang/ELSupport.java
Date Fri, 26 Sep 2008 09:11:18 GMT
Author: rjung
Date: Fri Sep 26 02:11:17 2008
New Revision: 699236

URL: http://svn.apache.org/viewvc?rev=699236&view=rev
Log:
Backport r649637: "Remove unused code" in ELSupport.java.

Modified:
    tomcat/tc6.0.x/trunk/STATUS.txt
    tomcat/tc6.0.x/trunk/java/org/apache/el/lang/ELSupport.java

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=699236&r1=699235&r2=699236&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Fri Sep 26 02:11:17 2008
@@ -189,12 +189,6 @@
   +1: jclere, markt, remm
   -1:
 
-* Backport "Remove unused code" in ELSupport.java.
-  Keeps trunk and tc6 in sync and is no risk.
-  http://svn.apache.org/viewvc?rev=649637&view=rev
-  +1: rjung, markt, remm (but cosmetic changes should stop in this branch)
-  -1:
-
 * Partial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=45878
   Add proper manifests (regression from 5.5.x) and LICENSE & NOTICE files
   Lots of ways to do this. Alternative/better suggestions welcome

Modified: tomcat/tc6.0.x/trunk/java/org/apache/el/lang/ELSupport.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/el/lang/ELSupport.java?rev=699236&r1=699235&r2=699236&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/el/lang/ELSupport.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/el/lang/ELSupport.java Fri Sep 26 02:11:17 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)
@@ -433,9 +431,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