mirror of https://github.com/apache/lucene.git
SOLR-707: throw exception from DocIterator remove()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@689349 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4b98cf8953
commit
74a54a431f
|
@ -105,7 +105,11 @@ public class DocSlice extends DocSetBase implements DocList {
|
|||
return nextDoc();
|
||||
}
|
||||
|
||||
/**
|
||||
* The remove operation is not supported by this Iterator.
|
||||
*/
|
||||
public void remove() {
|
||||
throw new UnsupportedOperationException("The remove operation is not supported by this Iterator.");
|
||||
}
|
||||
|
||||
public int nextDoc() {
|
||||
|
|
Loading…
Reference in New Issue