[ 
https://issues.apache.org/jira/browse/LUCENE-3497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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: https://issues.apache.org/jira/browse/LUCENE-3497
>             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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to