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

Minor refactoring to IndexFileNameFilter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.9
    • core/index
    • None
    • New, Patch Available

    Description

      IndexFileNameFilter looks like it's designed to be a singleton, however its constructor is public and its singleton member is package visible. The proposed patch changes the constructor and member to private. Since it already has a static getFilter() method, and no code in Lucene references those two, I don't think it creates any problems from an API perspective.

      Attachments

        1. LUCENE-1499.patch
          0.8 kB
          Shai Erera

        Activity

          People

            mikemccand Michael McCandless
            shaie Shai Erera
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: