[jira] [Commented] (OFBIZ-11336) Use withCloseable in Groovy everywhere it's possible

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11336) Use withCloseable in Groovy everywhere it's possible

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-11336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028415#comment-17028415 ]

Pierre Smits commented on OFBIZ-11336:
--------------------------------------

Can you elaborate a bit more? E.g. with examples of as-is and to-be scenarios?

> Use withCloseable in Groovy everywhere it's possible
> ----------------------------------------------------
>
>                 Key: OFBIZ-11336
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11336
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Priority: Major
>
> With OFBIZ-8202 we implemented most, if not all, cases of using try-with-resources statement in Java.
> We should do the same in Groovy



--
This message was sent by Atlassian Jira
(v8.3.4#803005)