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

        Maarten Coene created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 36850 12342586
        Henri Yandell made changes -
        Project Commons [ 12310458 ] Commons Lang [ 12310481 ]
        Component/s Lang [ 12311121 ]
        Key COM-2434 LANG-2
        Fix Version/s 2.2 [ 12311686 ]
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Affects Version/s Nightly Builds [ 12311648 ]
        Henri Yandell made changes -
        Affects Version/s Nightly Builds [ 12311718 ]
        Henri Yandell made changes -
        Fix Version/s 2.2 [ 12311702 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Component/s lang.* [ 12313203 ]
        Mark Thomas made changes -
        Workflow jira [ 12371491 ] Default workflow, editable Closed status [ 12602148 ]
        Henri Yandell made changes -
        Affects Version/s Nightly Builds [ 12311718 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development