bodewig 2002/11/06 02:23:25
Modified: src/main/org/apache/tools/ant Tag: ANT_15_BRANCH Main.java
Log:
Merge from HEAD
Revision Changes Path
No revision
No revision
1.65.2.8 +2 -2 jakarta-ant/src/main/org/apache/tools/ant/Main.java
Index: Main.java
===================================================================
RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Main.java,v
retrieving revision 1.65.2.7
retrieving revision 1.65.2.8
diff -u -r1.65.2.7 -r1.65.2.8
--- Main.java 5 Jul 2002 11:36:08 -0000 1.65.2.7
+++ Main.java 6 Nov 2002 10:23:25 -0000 1.65.2.8
@@ -140,7 +140,7 @@
private boolean projectHelp = false;
/**
- * Is a logfile being used? This is used to
+ * Whether or not a logfile is being used. This is used to
* check if the output streams must be closed.
*/
private static boolean isLogFileUsed = false;
@@ -922,7 +922,7 @@
String lSep = System.getProperty("line.separator");
// got a bit annoyed that I couldn't find a pad function
String spaces = " ";
- while (spaces.length() < maxlen) {
+ while (spaces.length() <= maxlen) {
spaces += spaces;
}
StringBuffer msg = new StringBuffer();
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>