lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Commented: (LUCENE-2027) Deprecate Directory.touchFile
Date Wed, 04 Nov 2009 16:23:32 GMT


Uwe Schindler commented on LUCENE-2027:

Missed this issue, from java-user:

We discussed about this method yesterday in the evening. The abstract base
class defines the method as throwing an IOException. So the correct
behaviour would be to throw an IOException if setLastModified returns false
(which happens according to the docs, if the date cannot be changed because
of an IO/FS prob).

> Deprecate Directory.touchFile
> -----------------------------
>                 Key: LUCENE-2027
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Store
>            Reporter: Michael McCandless
>            Priority: Trivial
>             Fix For: 3.1
> Lucene doesn't use this method, and, FindBugs reports that FSDirectory's impl shouldn't
swallow the returned result from File.setLastModified.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message