lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: [jira] [Commented] (LUCENE-5906) Use Files.delete instead of File.delete + made up exception
Date Thu, 04 Sep 2014 16:00:16 GMT
Wait. A quick look at the nio.files.Files class and...

In the brave new world here are we requiring that we test first to see
what the filesystem is? Because there's Posix and Dos varieties that
seem to be invoked separately. I don't see anywhere else in the code
base where we do this, am I the first or am I just dense?

On Thu, Sep 4, 2014 at 8:56 AM, ASF subversion and git services (JIRA)
<jira@apache.org> wrote:
>
>     [ https://issues.apache.org/jira/browse/LUCENE-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121491#comment-14121491
]
>
> ASF subversion and git services commented on LUCENE-5906:
> ---------------------------------------------------------
>
> Commit 1622506 from [~rcmuir] in branch 'dev/trunk'
> [ https://svn.apache.org/r1622506 ]
>
> LUCENE-5906: Use Files.delete everywhere instead of File.delete
>
>> Use Files.delete instead of File.delete + made up exception
>> -----------------------------------------------------------
>>
>>                 Key: LUCENE-5906
>>                 URL: https://issues.apache.org/jira/browse/LUCENE-5906
>>             Project: Lucene - Core
>>          Issue Type: Bug
>>            Reporter: Robert Muir
>>         Attachments: LUCENE-5906.patch, LUCENE-5906.patch, LUCENE-5906.patch, LUCENE-5906.patch,
LUCENE-5906.patch
>>
>>
>> We are on java7, if we cannot delete a file, this one returns a real exception as
to why.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message