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

superfluous checked exception: IOException in Script#evaluate(String)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.5.1
    • 1.5.2
    • None
    • None

    Description

      The method evaluate(String) of class groovy.lang.Script declare to throw the checked exception IOException but the implementation actual does not throw it. It would be great to see the declaration to be dropped. So we don't need add a useless catch clause when calling the method.

      Attachments

        Activity

          People

            paulk Paul King
            johan1 Johan Stenberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: