remm        2004/10/03 02:03:21

  Modified:    jasper2/src/share/org/apache/jasper JspC.java
  Log:
  - Fix cosmetic issue where extra CRLF would be inserted during each precompilation.
  
  Revision  Changes    Path
  1.82      +2 -1      
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.81
  retrieving revision 1.82
  diff -u -r1.81 -r1.82
  --- JspC.java 2 Sep 2004 16:05:06 -0000       1.81
  +++ JspC.java 3 Oct 2004 09:03:21 -0000       1.82
  @@ -683,6 +683,7 @@
                       }
                       if (line.indexOf(insertEndMarker) >= 0) {
                           line = reader.readLine();
  +                        line = reader.readLine();
                           if (line == null) {
                               return;
                           }
  @@ -696,7 +697,7 @@
                       break;
               }
               if (pos >= 0) {
  -                writer.println(line.substring(0, pos));
  +                writer.print(line.substring(0, pos));
                   break;
               } else {
                   writer.println(line);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to