SOLR-8995: apparently precommit fails if interfaces are not static. strange

This commit is contained in:
Noble Paul 2016-09-29 13:36:02 +05:30
parent 8ce52cf2b1
commit 54dd6d187e
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ package org.apache.lucene.index;
import java.io.IOException;
import org.apache.lucene.index.IndexReader.ReaderClosedListener;
import org.apache.lucene.search.Sort;
import org.apache.lucene.util.Bits;
@ -76,7 +77,7 @@ public abstract class LeafReader extends IndexReader {
*
* @lucene.experimental
*/
public interface CoreClosedListener {
public static interface CoreClosedListener {
/** Invoked when the shared core of the original {@code
* SegmentReader} has closed. The provided {@code
* ownerCoreCacheKey} will be the same key as the one