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

Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase

    XMLWordPrintableJSON

Details

    Description

      In the examples given along with the descriptions of startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase of StringUtils class, the full string and the suffix/prefix are used in the wrong order.

      eg:

      It is mentioned that StringUtils.startsWith("abc", "abcdef") = true
      It should be StringUtils.startsWith("abcdef", "abc") = true

      Attachments

        Activity

          People

            Unassigned Unassigned
            ashkg2001 Anish K George
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: