Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-963

provide StringBuffer.putAt(Range) analogous to List.putAt(Range)

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-JSR-2
    • Fix Version/s: 1.0-JSR-3
    • Component/s: groovy-jdk
    • Labels:
      None

      Description

      list = [0,1,2,3]
      list[0..2] = ['x']

      works fine while

      x = '0123' <<''
      x[0..2] = 'x'

      doesn't

      change comment: sorry I started this issue with "String" it should have been "StringBuffer"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                blackdrag Jochen Theodorou
                Reporter:
                codevise Dierk K├Ânig
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: