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 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org