lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2027) Deprecate Directory.touchFile
Date Wed, 04 Nov 2009 16:21:32 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773546#action_12773546
] 

Michael McCandless commented on LUCENE-2027:
--------------------------------------------

Why not simply deprecate and then remove the method?  Nothing in Lucene uses it.

> Deprecate Directory.touchFile
> -----------------------------
>
>                 Key: LUCENE-2027
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2027
>             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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message