You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pawan Verma (Jira)" <ji...@apache.org> on 2020/06/27 19:53:00 UTC

[jira] [Closed] (OFBIZ-11830) Replace Collection.sort() with List.sort()

     [ https://issues.apache.org/jira/browse/OFBIZ-11830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pawan Verma closed OFBIZ-11830.
-------------------------------
    Fix Version/s: Upcoming Branch
       Resolution: Implemented

> Replace Collection.sort() with List.sort()
> ------------------------------------------
>
>                 Key: OFBIZ-11830
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11830
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Pawan Verma
>            Assignee: Pawan Verma
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-11830-plugins.patch, OFBIZ-11830.patch
>
>
> Replace Collection.sort() with List.sort()
> {code:java}
> Collections.sort(billingAccountList, new BillingAccountComparator());{code}
> Replace with
> {code:java}
> billingAccountList.sort(new BillingAccountComparator());{code}



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