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

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

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

Nicolas Malin (Jira)

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

ASF subversion and git services commented on OFBIZ-11830:
---------------------------------------------------------

Commit 8f14af21c56c58e1b1754bb8eaa28fe5cc5979d9 in ofbiz-plugins's branch refs/heads/trunk from Pawan Verma
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=8f14af2 ]

Improved: Replace Collection.sort() with List.sort().(OFBIZ-11830)


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