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

Lucene40Codec methods should be final

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0
    • None
    • None
    • New

    Description

      I think all methods but getPostingsFormatForField should be made final so that users can't create a Codec that redefines any of the formats of Lucene40 by subclassing (since the codec name can't be overriden by subclassing, Lucene will fail at loading segments that use such codecs).

      Attachments

        1. LUCENE-4391.patch
          26 kB
          Adrien Grand
        2. LUCENE-4391.patch
          26 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: