lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Naber (JIRA)" <j...@apache.org>
Subject [jira] Closed: (LUCENE-795) deprecate Directory.renameFile()
Date Mon, 05 Feb 2007 22:52:05 GMT

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

Daniel Naber closed LUCENE-795.
-------------------------------

    Resolution: Fixed

Committed.

> deprecate Directory.renameFile()
> --------------------------------
>
>                 Key: LUCENE-795
>                 URL: https://issues.apache.org/jira/browse/LUCENE-795
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 2.0.0
>            Reporter: Daniel Naber
>            Priority: Minor
>             Fix For: 2.1
>
>
> Copied from my mailing list post so this issue can be tracked (if necessary). I will
commit a patch.
> I see that Directory.renameFile() isn't used anymore. I assume it has only 
> been public for technical reasons, not because we expect this to be used 
> from outside of Lucene? Should we deprecate this method? Its 
> implementation e.g. in FSDirectory looks a bit scary anyway (the comment 
> correctly says "This is not atomic" while the abstract class says "This 
> replacement should be atomic").

-- 
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