Commons Lang
  1. Commons Lang
  2. LANG-2

[lang] javadoc example for StringUtils.splitByWholeSeparator incorrect

    Details

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

      Operating System: other
      Platform: Other

      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

        Activity

        Hide
        Stephen Colebourne added a comment -

        Examples fixed, thanks

        Show
        Stephen Colebourne added a comment - Examples fixed, thanks

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development