Merge pull request #14225 from jpountz/fix/remove_Lucene_isEmpty

Remove Lucene.isEmpty(DocIdSet).
This commit is contained in:
Adrien Grand 2015-10-21 16:02:54 +02:00
commit b55b65cd65
1 changed files with 0 additions and 7 deletions

View File

@ -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}