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

javadoc for StringUtils.removeEnd is incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.1
    • 2.2
    • lang.*
    • None

    Description

      The javadoc for StringUtils.removeEnd(String, String) lists a number of examples, one of which is wrong:

      StringUtils.removeEnd("www.domain.com", ".com.") = "www,domain"

      The actual result of this is just "www.domain.com"

      Attachments

        Activity

          People

            Unassigned Unassigned
            skaffman Kenny MacLeod
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: