History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GROOVY-2496
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Paul King
Reporter: johan1
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
groovy

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

Created: 11/Jan/08 05:53 PM   Updated: 08/Feb/08 01:26 AM
Component/s: None
Affects Version/s: 1.5.1
Fix Version/s: 1.5.2

Time Tracking:
Not Specified


 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Paul King - 11/Jan/08 06:35 PM
Looks like a cut and paste glitch from the file version of the method - removed.

Paul King - 08/Feb/08 01:26 AM
close off release 1.5.4