commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CSV-60) .CSVParser.iterator().remove() should throw throw new UnsupportedOperationException()
Date Wed, 14 Mar 2012 17:32:40 GMT

    [ 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

        

Mime
View raw message