Commons Lang
  1. Commons Lang
  2. LANG-161

[lang] Add methods and tests to StrBuilder

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      StrBuilder needs various enhancements:

      • All methods taking in a String should have a parallel method taking a
        StringBuffer and a StrBuilder
      • rename method: delete(char) to deleteAll(char)
      • add method: deleteFirst(char)
      • rename method: delete(String) to deleteAll(String)
      • add method: deleteFirst(String)
      • rename method: replace(char, char) to replaceAll(char, char)
      • add method: replaceFirst(char, char)
      • rename method: replace(String, String) to replaceAll(String, String)
      • add method: replaceFirst(String, String)
      • equals() / hashCode()
      • equalsIgnoreCase()

      plus, in theory other methods from StringUtils. But the ones listed above are
      the key ones.

        Activity

        Mark Thomas made changes -
        Workflow jira [ 12371223 ] Default workflow, editable Closed status [ 12602193 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Fix Version/s 2.2 [ 12311702 ]
        Henri Yandell made changes -
        Affects Version/s 2.1 Final [ 12311701 ]
        Henri Yandell made changes -
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Key COM-2166 LANG-161
        Fix Version/s 2.2 [ 12311686 ]
        Component/s Lang [ 12311121 ]
        Affects Version/s 2.1 Final [ 12311659 ]
        Project Commons [ 12310458 ] Commons Lang [ 12310481 ]
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 35406 12342318
        Stephen Colebourne created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Stephen Colebourne
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development