added log output for getResource... hack

This commit is contained in:
Axel Uhl committed 2011-12-08 11:43:52 +01:00
1 parent 35a945b7b0
commit fb27328a0d
1 file changed
+2
@@ -1516,6 +1516,7 @@ public class SailingServiceImpl extends RemoteServiceServlet implements SailingS
public URL getResource(String arg0) throws MalformedURLException {
URL result = delegate.getResource(arg0);
if (result == null) {
logger.fine("Couldn't find "+arg0+". Trying "+PREFIX+arg0);
result = delegate.getResource(PREFIX+arg0);
}
return result;
@@ -1525,6 +1526,7 @@ public class SailingServiceImpl extends RemoteServiceServlet implements SailingS
public InputStream getResourceAsStream(String arg0) {
InputStream result = delegate.getResourceAsStream(arg0);
if (result == null) {
logger.fine("Couldn't find "+arg0+". Trying "+PREFIX+arg0);
result = delegate.getResourceAsStream(PREFIX+arg0);
}
return result;