jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-2676) FileDataStore should check for lastModified error result
Date Thu, 18 Nov 2010 09:08:16 GMT

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

Thomas Mueller updated JCR-2676:
--------------------------------

    Fix Version/s: 2.2.0

> 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
>             Fix For: 2.2.0
>
>         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.


Mime
View raw message