Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-869

Make FSIndexInput and FSIndexOutput inner classes of FSDirectory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • core/store
    • None
    • New

    Description

      I would like make FSIndexInput and FSIndexOutput protected, static, inner classes of FSDirectory. Currently these classes are located in the same source file as FSDirectory, which means that classes outside the store package can not extend them.

      I don't see any performance impacts or other side effects of this trivial patch. All unit tests pass.

      Attachments

        1. lucene-869.patch
          7 kB
          Michael Busch

        Activity

          People

            michaelbusch Michael Busch
            michaelbusch Michael Busch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: