[CONCURRENCY_EE_SPEC-27] Use try-with-resources in sample code Created: 01/Jan/13  Updated: 22/Feb/13  Resolved: 22/Feb/13

Status: Closed
Project: concurrency-ee-spec
Component/s: None
Affects Version/s: Public Review
Fix Version/s: Proposed Final Draft

Type: Improvement Priority: Minor
Reporter: braghest Assignee: anthony.lai
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


In an effort to promote best practices amoung developers the spec should follow best practices. This includes using try-with-resources where possible. Currently the sample code in the spec does not close resouces in case of exceptions.

The sample code in the following chapters is affected:

  • Task Definition - Reporter Task
  • Task Definition
  • Task Definition

Generated at Sat May 30 23:23:23 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.