You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2006/01/12 23:10:53 UTC

svn commit: r368493 - /tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Response.java

Author: markt
Date: Thu Jan 12 14:10:51 2006
New Revision: 368493

URL: http://svn.apache.org/viewcvs?rev=368493&view=rev
Log:
Revert code cleanup as replacement for deprecated method actually does something different.

Modified:
    tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Response.java

Modified: tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Response.java
URL: http://svn.apache.org/viewcvs/tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Response.java?rev=368493&r1=368492&r2=368493&view=diff
==============================================================================
--- tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Response.java (original)
+++ tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Response.java Thu Jan 12 14:10:51 2006
@@ -473,7 +473,7 @@
         while (index != -1) {
             semicolonIndex = index;
             index++;
-            while (index < len && Character.isWhitespace(type.charAt(index))) {
+            while (index < len && Character.isSpace(type.charAt(index))) {
                 index++;
             }
             if (index+8 < len



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