mirror of https://github.com/apache/lucene.git
LUCENE-1662: consolidate FieldCache and ExtendedFieldCache default instances
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@779277 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f9e8ab285
commit
76e01c1d06
|
@ -41,7 +41,7 @@ public interface ExtendedFieldCache extends FieldCache {
|
|||
public double parseDouble(String string);
|
||||
}
|
||||
|
||||
public static ExtendedFieldCache EXT_DEFAULT = new ExtendedFieldCacheImpl();
|
||||
public static ExtendedFieldCache EXT_DEFAULT = (ExtendedFieldCache)FieldCache.DEFAULT;
|
||||
|
||||
/**
|
||||
* Checks the internal cache for an appropriate entry, and if none is
|
||||
|
|
|
@ -127,7 +127,7 @@ public interface FieldCache {
|
|||
}
|
||||
|
||||
/** Expert: The cache used internally by sorting and range query classes. */
|
||||
public static FieldCache DEFAULT = new FieldCacheImpl();
|
||||
public static FieldCache DEFAULT = new ExtendedFieldCacheImpl();
|
||||
|
||||
/** Checks the internal cache for an appropriate entry, and if none is
|
||||
* found, reads the terms in <code>field</code> as a single byte and returns an array
|
||||
|
|
Loading…
Reference in New Issue