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

provide size() on StringBuffer

    XMLWordPrintableJSON

    Details

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

      Description

      Strings, List, etc. all have a GDK method size() but StringBuffer only has 'getSize()' or 'size' respectively

      x = new StringBuffer()
      assert x.size() == x.size
      x = new StringBuffer('some text')
      assert x.size() == x.size

        Attachments

          Activity

            People

            • Assignee:
              codevise Dierk König
              Reporter:
              codevise Dierk König
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: