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

java.lang.String.multiply(0) should return "" not throw exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0-beta-3
    • 1.0-beta-4
    • None
    • None

    Description

      T think that

      "a" * 0

      should evaluate to ""

      I think this would make string construction easier.

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            morgan morgan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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