You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Sean Timm (JIRA)" <ji...@apache.org> on 2008/08/18 18:03:45 UTC

[jira] Updated: (SOLR-707) DocIterator doesn't support remove(); should throw UnsupportedOperationException

     [ https://issues.apache.org/jira/browse/SOLR-707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Timm updated SOLR-707:
---------------------------

    Attachment: SOLR-707.patch

Patch to throw UnsupportedOperationException and simple Javadoc comment saying the remove() method is not supported.

> DocIterator doesn't support remove(); should throw UnsupportedOperationException
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-707
>                 URL: https://issues.apache.org/jira/browse/SOLR-707
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Sean Timm
>            Priority: Trivial
>         Attachments: SOLR-707.patch
>
>
> In DocSlice, DocIterator doesn't support the optional remove operation.  According to the Iterator Javadocs, remove should throw an UnsupportedOperationException in this case rather than be a no-op.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.