tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler ParserController.java
Date Mon, 01 Dec 2003 19:31:37 GMT
kinman      2003/12/01 11:31:37

  Modified:    jasper2/src/share/org/apache/jasper/compiler
                        ParserController.java
  Log:
  -Avoid using deprecated method.
  
  Revision  Changes    Path
  1.47      +2 -2      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/ParserController.java
  
  Index: ParserController.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/ParserController.java,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- ParserController.java	2 Sep 2003 21:39:59 -0000	1.46
  +++ ParserController.java	1 Dec 2003 19:31:37 -0000	1.47
  @@ -551,13 +551,13 @@
   	}
   	index += xmlnsDecl.length();
   	while (index < root.length()
  -	           && Character.isSpace(root.charAt(index))) {
  +	           && Character.isWhitespace(root.charAt(index))) {
   	    index++;
   	}
   	if (index < root.length() && root.charAt(index) == '=') {
   	    index++;
   	    while (index < root.length()
  -		       && Character.isSpace(root.charAt(index))) {
  +		       && Character.isWhitespace(root.charAt(index))) {
   		index++;
   	    }
   	    if (index < root.length() && root.charAt(index++) == '"'
  
  
  

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


Mime
View raw message