[
https://issues.jboss.org/browse/FORGE-1836?page=com.atlassian.jira.plugin...
]
Daniel Cunha updated FORGE-1836:
--------------------------------
Description:
It has class that implements AutoCloseable, but we're still using finally to close
streams and etc.
We can use (eg):
try (stream) {
}
and kill the finally block.
was:
It has class that implements AutoCloseable, but we're still using finally to close
streams and etc.
We can use:
try (stream) {
}
and kill the finally block.
Parse from Java 1.6 code -> Java 1.7 code.
------------------------------------------
Key: FORGE-1836
URL:
https://issues.jboss.org/browse/FORGE-1836
Project: Forge
Issue Type: Feature Request
Reporter: Daniel Cunha
It has class that implements AutoCloseable, but we're still using finally to close
streams and etc.
We can use (eg):
try (stream) {
}
and kill the finally block.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)