commit | f6a93421254ad5a183910153be56767687df277e | [log] [tgz] |
---|---|---|
author | Rob Walker <walkerr@apache.org> | Tue Oct 14 19:46:13 2008 +0000 |
committer | Rob Walker <walkerr@apache.org> | Tue Oct 14 19:46:13 2008 +0000 |
tree | 21d207407fa68b8e2d00bbf38176cda9f6338a65 | |
parent | a9aa21da852fad6753d6b7b73a8aef5947534bec [diff] |
FELIX-407 - small change to include debug output of lastModified timestamps to assist in debugging cache handling for resources git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@704643 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/http.jetty/src/main/java/org/mortbay/jetty/servlet/OsgiResourceHolder.java b/http.jetty/src/main/java/org/mortbay/jetty/servlet/OsgiResourceHolder.java index 5b44972..5efcbf6 100644 --- a/http.jetty/src/main/java/org/mortbay/jetty/servlet/OsgiResourceHolder.java +++ b/http.jetty/src/main/java/org/mortbay/jetty/servlet/OsgiResourceHolder.java
@@ -279,14 +279,11 @@ { long lastModified = 0; - System.out.println("url: " + resUrl); - try { // Get last modified time URLConnection conn = resUrl.openConnection(); lastModified = conn.getLastModified(); - System.out.println("modified - " + lastModified); } catch (Exception e) { @@ -309,6 +306,8 @@ } } + Activator.debug( "url: " + resUrl + ", lastModified:" + lastModified); + return lastModified; }