jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Dettman (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2676) FileDataStore should check for lastModified error result
Date Thu, 15 Jul 2010 17:32:51 GMT
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.

View raw message