Uploaded image for project: 'Commons Text'
  1. Commons Text
  2. TEXT-219

StringTokenizer#getTokenList does not support #remove

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.10.0
    • None
    • None

    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

            Unassigned Unassigned
            Gwaptiva Jaap Sperling
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: