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

Alex Herbert commented on TEXT-219:
-----------------------------------

Since the change is so simple I have fixed this in master in commit:

f9846b10b2365a36f95f63ff9f90e0f8847f901b

Please verify the fix. I deployed a snapshot that you can include in any test 
projects to:

[https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-text/1.10.1-SNAPSHOT/]

 

> 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