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

Michael Osipov commented on TEXT-219:
-------------------------------------

Here is the regression: 
https://github.com/apache/commons-text/commit/2d1ab7ea72298949900df47f65b4f71d56411f0b#diff-ad0c791a40d9df9bd54b9b5c744eb4b386cec52bea1992f3e4476f6e220f1bcdR459

> StringTokenizer#getTokenList does not support #remove
> -----------------------------------------------------
>
>                 Key: TEXT-219
>                 URL: https://issues.apache.org/jira/browse/TEXT-219
>             Project: Commons Text
>          Issue Type: Bug
>    Affects Versions: 1.10.0
>            Reporter: Jaap Sperling
>            Priority: Major
>
> Upgraded to 1.10 from 1.9 and the {{StringTokenizer#getTokenList}} method now 
> returns an {{Arrays$ArrayList}} instead of a regular {{{}ArrayList{}}}.
> This causes calls to #add and #remove to throw 
> UnsupportedOperationExceptions, even if the documentation states this returns 
> modifiable lists



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to