You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2010/07/19 10:19:54 UTC

[jira] Assigned: (JCR-2676) FileDataStore should check for lastModified error result

     [ https://issues.apache.org/jira/browse/JCR-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller reassigned JCR-2676:
-----------------------------------

    Assignee: Thomas Mueller

> 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
>            Assignee: Thomas Mueller
>         Attachments: JCR-2676.patch
>
>
> 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.