Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-901

endsWithAny is case sensitive - documented as case insensitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1
    • 3.5
    • General
    • None

    Description

      endsWithAny was added in response to this task: LANG-614

      Documentation says that the method returns "true if the CharSequence starts with any of the the prefixes, case insensitive, or both null"

      StringUtils.endsWithAny("MIME/TYPE", "TYPE") true
      StringUtils.endsWithAny("MIME/TYPE", "type") false

      Attachments

        1. LANG-901.patch
          8 kB
          Matthew Bartenschlag

        Issue Links

          Activity

            People

              pascalschumacher Pascal Schumacher
              mbartenschlag Matthew Bartenschlag
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: