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

[].sum() should return 0 not null.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.5.2
    • groovy-jdk
    • None

    Description

      This would make computation more convenient, as I wouldn't have to explicitly check for the empty list.

      Attachments

        Activity

          People

            paulk Paul King
            mellis David A. Mellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: