ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Moebius <stmoeb...@yahoo.com>
Subject [PATCH] ReplaceRegExp should not append additional newline
Date Fri, 13 Sep 2002 11:57:16 GMT
In case a file is passed to the pattern matcher as a whole (i.e.
byline=false), a newline is added to the end of the file if it is
changed. The attached patch changes a println() to print() to avoid
this problem.

Stefan
 


=====
Stefan Moebius       <stmoebius@yahoo.com> 
  Wurzener Str. 43        +49 351 8475827
  01127 Dresden           +49 172 8739617

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
Mime
View raw message