You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2020/06/17 11:52:00 UTC

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

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

Jacques Le Roux commented on OFBIZ-11336:
-----------------------------------------

Hi Pierre,

It's a bit late but if you are still interested here is a good and simple article about the subject: https://mrhaki.blogspot.com/2017/10/groovy-goodness-make-sure-closeable.html

> 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)