[forge-issues] [JBoss JIRA] (FORGE-1836) Parse from Java 1.6 code -> Java 1.7 code.
Daniel Cunha (JIRA)
issues at jboss.org
Mon May 19 18:44:56 EDT 2014
[ https://issues.jboss.org/browse/FORGE-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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)
More information about the forge-issues
mailing list