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

[lang] javadoc example for StringUtils.splitByWholeSeparator incorrect

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: lang.*
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: