Browse Source

Make resource load failures only print under debug. Up to the caller

to decide whether this is an error


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269382 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 24 years ago
parent
commit
5a06139617
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/AntClassLoader.java

+ 2
- 2
src/main/org/apache/tools/ant/AntClassLoader.java View File

@@ -520,7 +520,7 @@ public class AntClassLoader extends ClassLoader implements BuildListener {
if (resourceStream == null) { if (resourceStream == null) {
log("Couldn't load ResourceStream for " + name, log("Couldn't load ResourceStream for " + name,
Project.MSG_WARN);
Project.MSG_DEBUG);
} }


return resourceStream; return resourceStream;
@@ -678,7 +678,7 @@ public class AntClassLoader extends ClassLoader implements BuildListener {
} }


if (url == null) { if (url == null) {
log("Couldn't load Resource " + name, Project.MSG_WARN);
log("Couldn't load Resource " + name, Project.MSG_DEBUG);
} }


return url; return url;


Loading…
Cancel
Save