You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (Commented) (JIRA)" <ji...@apache.org> on 2012/03/14 18:32:40 UTC

[jira] [Commented] (CSV-60) .CSVParser.iterator().remove() should throw throw new UnsupportedOperationException()

    [ https://issues.apache.org/jira/browse/CSV-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229408#comment-13229408 ] 

Emmanuel Bourg commented on CSV-60:
-----------------------------------

If you want, but the iterator is really there for the convenience of using for each loops. What happens when remove() is called doesn't matter much.
                
> .CSVParser.iterator().remove() should throw throw new UnsupportedOperationException()
> -------------------------------------------------------------------------------------
>
>                 Key: CSV-60
>                 URL: https://issues.apache.org/jira/browse/CSV-60
>             Project: Commons CSV
>          Issue Type: Bug
>            Reporter: Sebb
>
> The remove() method currently does nothing; it should throw new UnsupportedOperationException() for consistency with other read-only iterators.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira