mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-04 11:23:50 +00:00
added log output for getResource... hack
This commit is contained in:
1 parent
35a945b7b0
commit
fb27328a0d
1 file changed
+2
+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;
|
||||
|
||||
Reference in new issue
Block a user