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

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

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

Nicolas Malin (Jira)

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