lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4440) FilterCodec should take a delegate Codec in its ctor
Date Thu, 27 Sep 2012 17:42:08 GMT


Robert Muir commented on LUCENE-4440:

thanks for adding these checks: I think this is much more clear than NPE!
> FilterCodec should take a delegate Codec in its ctor
> ----------------------------------------------------
>                 Key: LUCENE-4440
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/codecs
>    Affects Versions: 4.0-BETA
>            Reporter: Shai Erera
>            Assignee: Uwe Schindler
>            Priority: Blocker
>             Fix For: 4.1, 5.0, 4.0
>         Attachments: LUCENE-4440.patch, LUCENE-4440.patch
> FilterCodec has a delegate() method through which an extension can return its delegate
Codec. This method is called on every Codec method. Adrien, on LUCENE-4391, failed to pass
a Codec in the ctor, since he couldn't called Codec.forName().
> Instead, we should just pass e.g. new Lucene40Codec(). I'll post a patch shortly.

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