Lucene - Core
  1. Lucene - Core
  2. LUCENE-5255

Make DocumentsWriter reference final in IW

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.6, Trunk
    • Fix Version/s: 4.6, Trunk
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      the DocumentWriter ref is nulled on close which seems unnecessary altogether. We can just make it final instead.

      1. LUCENE-5255.patch
        2 kB
        Simon Willnauer

        Activity

        Simon Willnauer created issue -
        Hide
        Simon Willnauer added a comment -

        here is a patch

        Show
        Simon Willnauer added a comment - here is a patch
        Simon Willnauer made changes -
        Field Original Value New Value
        Attachment LUCENE-5255.patch [ 12606377 ]
        Hide
        ASF subversion and git services added a comment -

        Commit 1530679 from Simon Willnauer in branch 'dev/trunk'
        [ https://svn.apache.org/r1530679 ]

        LUCENE-5255: Make DocumentsWriter reference final in IW

        Show
        ASF subversion and git services added a comment - Commit 1530679 from Simon Willnauer in branch 'dev/trunk' [ https://svn.apache.org/r1530679 ] LUCENE-5255 : Make DocumentsWriter reference final in IW
        Hide
        ASF subversion and git services added a comment -

        Commit 1530685 from Simon Willnauer in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1530685 ]

        LUCENE-5255: Make DocumentsWriter reference final in IW

        Show
        ASF subversion and git services added a comment - Commit 1530685 from Simon Willnauer in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1530685 ] LUCENE-5255 : Make DocumentsWriter reference final in IW
        Simon Willnauer made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        53d 4h 10m 1 Simon Willnauer 24/Nov/13 19:45

          People

          • Assignee:
            Unassigned
            Reporter:
            Simon Willnauer
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development