lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Updated] (LUCENE-4391) Lucene40Codec methods should be final
Date Mon, 17 Sep 2012 17:17:09 GMT


Adrien Grand updated LUCENE-4391:

    Attachment: LUCENE-4391.patch

Same patch, but with ForwardingCodec renamed as FilterCodec. I however didn't change the way
it gets the delegate codec because of the issue mentioned above.
> Lucene40Codec methods should be final
> -------------------------------------
>                 Key: LUCENE-4391
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>             Fix For: 4.0
>         Attachments: LUCENE-4391.patch, LUCENE-4391.patch
> 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).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message