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

handle null more gracefully in switch/case

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-JSR-5
    • 1.0-JSR-6
    • syntax
    • None

    Description

      allow

      switch(null) {
      case null : ...
      }

      without throwing exceptions

      Attachments

        1. switch.pseudopatch.txt
          2 kB
          Dierk König

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: