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

endsWithAny is case sensitive - documented as case insensitive

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment