You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2013/10/02 17:36:43 UTC

[jira] [Updated] (LUCENE-5255) Make DocumentsWriter reference final in IW

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

Simon Willnauer updated LUCENE-5255:
------------------------------------

    Attachment: LUCENE-5255.patch

here is a patch

> Make DocumentsWriter reference final in IW
> ------------------------------------------
>
>                 Key: LUCENE-5255
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5255
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 5.0, 4.6
>            Reporter: Simon Willnauer
>             Fix For: 5.0, 4.6
>
>         Attachments: LUCENE-5255.patch
>
>
> the DocumentWriter ref is nulled on close which seems unnecessary altogether. We can just make it final instead.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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