[CONCURRENCY_EE_SPEC-27] Use try-with-resources in sample code Created: 01/Jan/13 Updated: 22/Feb/13 Resolved: 22/Feb/13
|Affects Version/s:||Public Review|
|Fix Version/s:||Proposed Final Draft|
|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: