SOLR-3891: CacheValue in CachingDirectoryFactory cannot be used outside of solr.core package.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390197 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-09-25 22:29:20 +00:00
parent 5709c18bd5
commit ea85a78ced
2 changed files with 6 additions and 3 deletions

View File

@ -371,6 +371,9 @@ Bug Fixes
* SOLR-3878: Exception when using open-ended range query with CurrencyField (janhoy)
* SOLR-3891: CacheValue in CachingDirectoryFactory cannot be used outside of
solr.core package. (phunt via Mark Miller)
Other Changes
----------------------

View File

@ -42,9 +42,9 @@ import org.slf4j.LoggerFactory;
*
*/
public abstract class CachingDirectoryFactory extends DirectoryFactory {
class CacheValue {
Directory directory;
int refCnt = 1;
protected class CacheValue {
public Directory directory;
public int refCnt = 1;
public String path;
public boolean doneWithDir = false;
public String toString() {