tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lar...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/jasper/compiler CharDataGenerator.java JspParseEventListener.java MappedCharDataGenerator.java
Date Tue, 04 Dec 2001 02:21:04 GMT
larryi      01/12/03 18:21:04

  Modified:    src/share/org/apache/jasper/compiler CharDataGenerator.java
                        JspParseEventListener.java
                        MappedCharDataGenerator.java
  Log:
  Eliminate hard coded '\n' line separators.
  
  Revision  Changes    Path
  1.5       +5 -4      jakarta-tomcat/src/share/org/apache/jasper/compiler/CharDataGenerator.java
  
  Index: CharDataGenerator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/CharDataGenerator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CharDataGenerator.java	2001/07/03 16:27:12	1.4
  +++ CharDataGenerator.java	2001/12/04 02:21:04	1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/CharDataGenerator.java,v
1.4 2001/07/03 16:27:12 hgomez Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/07/03 16:27:12 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/CharDataGenerator.java,v
1.5 2001/12/04 02:21:04 larryi Exp $
  + * $Revision: 1.5 $
  + * $Date: 2001/12/04 02:21:04 $
    *
    * ====================================================================
    * 
  @@ -127,7 +127,8 @@
   	    }
   	}
   	writer.print(sb.toString());
  -	writer.print("\");\n");
  +	writer.print("\");");
  +	writer.println();
       }
   
   
  
  
  
  1.31      +7 -7      jakarta-tomcat/src/share/org/apache/jasper/compiler/JspParseEventListener.java
  
  Index: JspParseEventListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/JspParseEventListener.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- JspParseEventListener.java	2001/08/12 01:46:39	1.30
  +++ JspParseEventListener.java	2001/12/04 02:21:04	1.31
  @@ -328,13 +328,13 @@
   	    writer.println("response.setContentType(\"" +
   			   servletContentType +
   			   ";charset=ISO-8859-1\");");
  -	writer.println("pageContext = _jspxFactory.getPageContext(this, request, response,\n"
  -					+ "\t\t\t"
  -					+ writer.quoteString(error) + ", "
  -					+ genSessionVariable + ", "
  -					+ bufferSize + ", "
  -					+ autoFlush
  -					+ ");");
  +	writer.println("pageContext = _jspxFactory.getPageContext(this, request, response,");
  +	writer.println("\t\t\t"
  +			+ writer.quoteString(error) + ", "
  +			+ genSessionVariable + ", "
  +			+ bufferSize + ", "
  +			+ autoFlush
  +			+ ");");
   	writer.println();
   
   	writer.println("application = pageContext.getServletContext();");
  
  
  
  1.4       +5 -4      jakarta-tomcat/src/share/org/apache/jasper/compiler/MappedCharDataGenerator.java
  
  Index: MappedCharDataGenerator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/MappedCharDataGenerator.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MappedCharDataGenerator.java	2001/07/03 16:27:14	1.3
  +++ MappedCharDataGenerator.java	2001/12/04 02:21:04	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/MappedCharDataGenerator.java,v
1.3 2001/07/03 16:27:14 hgomez Exp $
  - * $Revision: 1.3 $
  - * $Date: 2001/07/03 16:27:14 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/MappedCharDataGenerator.java,v
1.4 2001/12/04 02:21:04 larryi Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/12/04 02:21:04 $
    *
    * ====================================================================
    * 
  @@ -117,6 +117,7 @@
   	    }
   	}
   	writer.print(sb.toString());
  -	writer.print("\");\n");
  +	writer.print("\");");
  +	writer.println();
       }
   }
  
  
  

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


Mime
View raw message