Browse Source

loadresource might log warnings even though quiet was set to true

https://bz.apache.org/bugzilla/show_bug.cgi?id=65647
master
Stefan Bodewig 2 years ago
parent
commit
0aca73974a
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      WHATSNEW
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/LoadResource.java

+ 3
- 0
WHATSNEW View File

@@ -44,6 +44,9 @@ Fixed bugs:
NUL rather than the first.
Github Pull Request #194

* loadresource might log warnings even though quiet was set to true
Bugzilla Report 65647

Other changes:
--------------



+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/LoadResource.java View File

@@ -141,7 +141,7 @@ public class LoadResource extends Task {
if (failOnError) {
throw new BuildException(message);
}
log(message, quiet ? Project.MSG_WARN : Project.MSG_ERR);
log(message, quiet ? Project.MSG_VERBOSE : Project.MSG_ERR);
return;
}



Loading…
Cancel
Save