peterreilly 2004/03/31 03:45:01
Modified: src/main/org/apache/tools/ant ProjectComponent.java
Log:
ProjectComponent incorrect compare used in logging
PR: 28070
Obtained from: Matt Small
Revision Changes Path
1.15 +1 -1 ant/src/main/org/apache/tools/ant/ProjectComponent.java
Index: ProjectComponent.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/ProjectComponent.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ProjectComponent.java 9 Mar 2004 16:47:59 -0000 1.14
+++ ProjectComponent.java 31 Mar 2004 11:45:01 -0000 1.15
@@ -81,7 +81,7 @@
// 'reasonable' default, if the component is used without
// a Project ( for example as a standalone Bean ).
// Most ant components can be used this way.
- if (msgLevel >= Project.MSG_INFO) {
+ if (msgLevel <= Project.MSG_INFO) {
System.err.println(msg);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]