You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/05/26 10:35:36 UTC
svn commit: r778618 -
/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java
Author: lofwyr
Date: Tue May 26 08:35:35 2009
New Revision: 778618
URL: http://svn.apache.org/viewvc?rev=778618&view=rev
Log:
TOBAGO-757: ResourceLocator: Remove wrong logging information.
Modified:
myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java
Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java?rev=778618&r1=778617&r2=778618&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java Tue May 26 08:35:35 2009
@@ -83,7 +83,9 @@
}
Set<String> resourcePaths = servletContext.getResourcePaths(path);
if (resourcePaths == null || resourcePaths.isEmpty()) {
- LOG.warn("ResourcePath empty! Please check the tobago-config.xml file! path='" + path + "'");
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("Skipping empty resource path: path='" + path + "'");
+ }
return;
}
for (String childPath : resourcePaths) {