You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2009/07/31 18:06:32 UTC
svn commit: r799651 -
/ant/core/trunk/src/main/org/apache/tools/ant/AntClassLoader.java
Author: bodewig
Date: Fri Jul 31 16:06:31 2009
New Revision: 799651
URL: http://svn.apache.org/viewvc?rev=799651&view=rev
Log:
whitespace
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/AntClassLoader.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/AntClassLoader.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/AntClassLoader.java?rev=799651&r1=799650&r2=799651&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/AntClassLoader.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/AntClassLoader.java Fri Jul 31 16:06:31 2009
@@ -706,26 +706,26 @@
if (isParentFirst(name)) {
resourceStream = loadBaseResource(name);
}
+ if (resourceStream != null) {
+ log("ResourceStream for " + name
+ + " loaded from parent loader", Project.MSG_DEBUG);
+ } else {
+ resourceStream = loadResource(name);
if (resourceStream != null) {
log("ResourceStream for " + name
- + " loaded from parent loader", Project.MSG_DEBUG);
- } else {
- resourceStream = loadResource(name);
- if (resourceStream != null) {
- log("ResourceStream for " + name
- + " loaded from ant loader", Project.MSG_DEBUG);
- }
+ + " loaded from ant loader", Project.MSG_DEBUG);
}
+ }
if (resourceStream == null && !isParentFirst(name)) {
if (ignoreBase) {
resourceStream = getRootLoader() == null ? null : getRootLoader().getResourceAsStream(name);
} else {
resourceStream = loadBaseResource(name);
}
- if (resourceStream != null) {
- log("ResourceStream for " + name + " loaded from parent loader",
- Project.MSG_DEBUG);
- }
+ if (resourceStream != null) {
+ log("ResourceStream for " + name + " loaded from parent loader",
+ Project.MSG_DEBUG);
+ }
}
if (resourceStream == null) {
log("Couldn't load ResourceStream for " + name, Project.MSG_DEBUG);