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

Avoid unnecessary allocation in StringUtils.wrapIfMissing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.9
    • 3.10
    • lang.*
    • None

    Description

      The StringUtils.wrapIfMissing creates a new instance of StringBuilder regardless of whether the input is wrapped or not.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ed_asatryan Edgar Asatryan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h