tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <...@collab.net>
Subject Re: cvs commit: jakarta-tomcat/src/share/org/apache/jasper/compiler CharDataGenerator.java JspParseEventListener.java MappedCharDataGenerator.java
Date Tue, 04 Dec 2001 02:43:04 GMT
On 4 Dec 2001 larryi@apache.org wrote:

> 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();
>        }

Why not just call println() instead of print() then 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