FELIX-407 - minor fix to ensure resource is returned in a case where modified timestamp of resource can't be determined

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@704116 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 acc6235..4addc28 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
@@ -306,8 +306,9 @@
         modSince /= 1000;
         resTimestamp /= 1000;
         
-        // Timestamp check to see if modified
-        if (modSince == -1 || resTimestamp > modSince)
+        // Timestamp check to see if modified - resTimestamp 0 check is for 
+        // safety in case we didn't manage to get a timestamp for the resource
+        if (resTimestamp == 0 || modSince == -1 || resTimestamp > modSince)
         {
             retval = true;
         }