FileDataStore should check for lastModified error result
--------------------------------------------------------

                 Key: JCR-2676
                 URL: https://issues.apache.org/jira/browse/JCR-2676
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core
    Affects Versions: 2.1.0
            Reporter: Peter Dettman


According to javadoc for File.lastModified(), the return value may indicate 
error: "...or 0L if the file does not exist or if an I/O error occurs".

Accordingly, FileDataStore should be checking for this return value, rather 
than treating it as an actual modification time of "0".

Patch to follow.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to