[TEXT-219] StringTokenizer#getTokenList does not support #remove (original) (raw)

Log inSkip to main contentSkip to sidebar

ASF Jira

Uploaded image for project: 'Commons Text'

  1. Commons Text
  2. TEXT-219

XMLWordPrintableJSON

Details

Description

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

Attachments

Activity

People

Votes:

0 Vote for this issue

Watchers:

3 Start watching this issue

Dates

Created:

17/Oct/22 12:01

Updated:

17/Oct/22 14:45