Uploaded image for project: 'Commons BeanUtils'
  1. Commons BeanUtils
  2. BEANUTILS-301

In ArrayConverter, the allowedChars array should (possibly) include the underscore character

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.8.0-BETA
    • None
    • None
    • All

    Description

      An array value passed as:

      this_is_my_first_value,this_is_my_second_value

      should (could: please) result in a two-element array - currently the "_" is not recognized as a word character and thus results in the StreamTokenizer splitting each string at the underscore. Maybe ALL Java symbol characters should be recognized? This would avoid unnecessary quoting ala "this_is_my_first_value","this_is_my_second_value"

      (note there is also a BUG related to this, since parsing the above string also results in an NPE in the current BETA- report to follow)

      Attachments

        Activity

          People

            Unassigned Unassigned
            martin.bartlett Martin Bartlett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: