tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper JspC.java
Date Tue, 12 Aug 2003 19:29:26 GMT
remm        2003/08/12 12:29:26

  Modified:    jasper2/src/share/org/apache/jasper JspC.java
  Log:
  - Beautify the insertion of the XML fragment.
  
  Revision  Changes    Path
  1.56      +8 -3      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- JspC.java	12 Aug 2003 19:11:45 -0000	1.55
  +++ JspC.java	12 Aug 2003 19:29:26 -0000	1.56
  @@ -641,12 +641,17 @@
           while (true) {
               String line2 = fragmentReader.readLine();
               if (line2 == null) {
  +                writer.println();
                   break;
               }
               writer.println(line2);
           }
           writer.println(insertEndMarker);
  +        writer.println();
   
  +        for (int i = 0; i < pos; i++) {
  +            writer.print(" ");
  +        }
           writer.println(line.substring(pos));
   
           while (true) {
  
  
  

Mime
View raw message