Merge pull request #14225 from jpountz/fix/remove_Lucene_isEmpty
Remove Lucene.isEmpty(DocIdSet).
This commit is contained in:
commit
b55b65cd65
|
@ -717,13 +717,6 @@ public class Lucene {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Is it an empty {@link DocIdSet}?
|
||||
*/
|
||||
public static boolean isEmpty(@Nullable DocIdSet set) {
|
||||
return set == null || set == DocIdSet.EMPTY;
|
||||
}
|
||||
|
||||
/**
|
||||
* Given a {@link Scorer}, return a {@link Bits} instance that will match
|
||||
* all documents contained in the set. Note that the returned {@link Bits}
|
||||
|
|
Loading…
Reference in New Issue