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

[lang] Error in JavaDoc for StringUtils.chomp(String, String)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.1
    • lang.*
    • None
    • Operating System: other
      Platform: Other

    • 32198

    Description

      There's an error in the JavaDoc for the StringUtils.chomp(String, String)
      method. One of the examples says:

      StringUtils.chomp("foo ", "foo") = "foo"

      This should be:

      StringUtils.chomp("foo ", "foo") = "foo "

      Attachments

        Activity

          People

            Unassigned Unassigned
            ronald@finalist.com Ronald Wildenberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: