You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2015/04/04 06:57:33 UTC

[jira] [Commented] (OFBIZ-5781) Convert Javolution collections into Java collections

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

Deepak Dixit commented on OFBIZ-5781:
-------------------------------------

Thanks Nicolas for working on it. I reviewed your patch and it looks good to me.

I would like to change list/map assignment in groovy:
Instead on using new to create an list/map we can use groovy utility "as" to initialize list/Map.
{code}
List currentAssetAndExprs = new LinkedList(mainAndExprs);
Instead of this we can use 
List currentAssetAndExprs = mainAndExprs as LinkedList;

trail = new LinkedList<String>();
Instead of this
trail = [] as  LinkedList<String>;
{code}

> Convert Javolution collections into Java collections
> ----------------------------------------------------
>
>                 Key: OFBIZ-5781
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5781
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Deepak Dixit
>            Assignee: Ashish Vijaywargiya
>         Attachments: OFBIZ-5781-applications.patch, OFBIZ-5781.patch, OFBIZ-5781.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)