lucene-dev mailing list archives

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

     [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message