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

[lang] javadoc example for StringUtils.splitByWholeSeparator incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2
    • lang.*
    • None
    • Operating System: other
      Platform: Other

    • 36850

    Description

      Hi,

      the javadoc examples for the StringUtils.splitByWholeSeparator(...) methods
      are not correct.

      • The examples of splitByWholeSeperator(String,String) are illustrating the
        usage of the StringUtils.split(String,String) method.
      • The 6th example of splitByWholeSeperator(String,String,int) is not correct
        and should be removed.

      regards,
      Maarten

      Attachments

        Activity

          People

            Unassigned Unassigned
            maartenc Maarten Coene
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: