mirror of https://github.com/apache/lucene.git
LUCENE-6447: AssertingLeafReader should delegate getCoreCacheKey()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675137 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0e947bb668
commit
77b74fc623
|
@ -797,16 +797,15 @@ public class AssertingLeafReader extends FilterLeafReader {
|
|||
return docsWithField;
|
||||
}
|
||||
|
||||
// this is the same hack as FCInvisible
|
||||
// we don't change behavior of the reader: just validate the API.
|
||||
|
||||
@Override
|
||||
public Object getCoreCacheKey() {
|
||||
return cacheKey;
|
||||
return in.getCoreCacheKey();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCombinedCoreAndDeletesKey() {
|
||||
return cacheKey;
|
||||
return in.getCombinedCoreAndDeletesKey();
|
||||
}
|
||||
|
||||
private final Object cacheKey = new Object();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue