[
https://issues.apache.org/jira/browse/LUCENE-1523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless resolved LUCENE-1523.
----------------------------------------
Resolution: Fixed
Fix Version/s: 2.9
Committed revision 736039. Thank Shon!
> isOpen needs to be accessible by subclasses of Directory
> --------------------------------------------------------
>
> Key: LUCENE-1523
> URL: https://issues.apache.org/jira/browse/LUCENE-1523
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Store
> Affects Versions: 2.4
> Reporter: Shon Vella
> Assignee: Michael McCandless
> Fix For: 2.9
>
>
> The Directory abstract class has a member variable named isOpen which is
> package accessible. The usage of the variable is such that it should be
> readable and must be writable (in order to implement close()) by any
> concrete implementation of directory. Because of the current accessibility of
> this variable is is not possible to create a Directory implementation that is
> not also in the org.apache.lucene.store.
> I propose that either the isOpen variable either needs to be declared
> protected or that there should be getter/setter methods that are protected.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]