mirror of https://github.com/apache/lucene.git
SOLR-8995: apparently precommit fails if interfaces are not static. strange
This commit is contained in:
parent
8ce52cf2b1
commit
54dd6d187e
|
@ -18,6 +18,7 @@ package org.apache.lucene.index;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
|
import org.apache.lucene.index.IndexReader.ReaderClosedListener;
|
||||||
import org.apache.lucene.search.Sort;
|
import org.apache.lucene.search.Sort;
|
||||||
import org.apache.lucene.util.Bits;
|
import org.apache.lucene.util.Bits;
|
||||||
|
|
||||||
|
@ -76,7 +77,7 @@ public abstract class LeafReader extends IndexReader {
|
||||||
*
|
*
|
||||||
* @lucene.experimental
|
* @lucene.experimental
|
||||||
*/
|
*/
|
||||||
public interface CoreClosedListener {
|
public static interface CoreClosedListener {
|
||||||
/** Invoked when the shared core of the original {@code
|
/** Invoked when the shared core of the original {@code
|
||||||
* SegmentReader} has closed. The provided {@code
|
* SegmentReader} has closed. The provided {@code
|
||||||
* ownerCoreCacheKey} will be the same key as the one
|
* ownerCoreCacheKey} will be the same key as the one
|
||||||
|
|
Loading…
Reference in New Issue