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/compiler Generator.java
Date Sun, 03 Aug 2003 09:07:47 GMT
remm        2003/08/03 02:07:47

  Modified:    jasper2/src/share/org/apache/jasper/compiler Generator.java
  Log:
  - Fix incorrect indentation of generated code, submitted by Eric Carmichael.
  
  Revision  Changes    Path
  1.193     +6 -4      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java
  
  Index: Generator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java,v
  retrieving revision 1.192
  retrieving revision 1.193
  diff -u -r1.192 -r1.193
  --- Generator.java	22 Jul 2003 21:04:46 -0000	1.192
  +++ Generator.java	3 Aug 2003 09:07:47 -0000	1.193
  @@ -1732,7 +1732,9 @@
   			// Generate an out.write() when see a '\n' in template
   			sb.append("\");");
   			out.println(sb.toString());
  -			out.printin();
  +                        if (i < text.length()-1) {
  +                            out.printin();
  +                        }
   			sb.setLength(initLength);
   			count = CHUNKSIZE;
   		    }
  
  
  

Mime
View raw message