lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rutherglen (Updated) (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3497) Make DirectoryReader protected methods non-final
Date Fri, 07 Oct 2011 19:10:29 GMT


Jason Rutherglen updated LUCENE-3497:

    Attachment: LUCENE-3497.patch

The patch makes most of what is private in DR protected.  Protected is just like private,
however, only subclasses can access protected methods and variables, or in the same package.
> Make DirectoryReader protected methods non-final
> ------------------------------------------------
>                 Key: LUCENE-3497
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 3.4, 4.0
>            Reporter: Jason Rutherglen
>            Priority: Minor
>         Attachments: LUCENE-3497.patch
> DirectoryReader has protected methods that are overridden and made final.  This is silly
because it prevents other classes from overriding DirectoryReader.  The methods are doOpenIfChanged(*)
and a handful of related variables that are private.

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


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

View raw message