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

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

> Replace Iterator.remove() with Collection.removeIf()
> ----------------------------------------------------
>
>                 Key: OFBIZ-11831
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11831
>             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-11831.patch
>
>
> From Java8 we have Collection.removeIf() method works by applying the 
> condition provided in the Predicate instance to all the elements in the 
> Collection on which it is invoked. The elements which satisfy the condition 
> are retained while the remaining are removed from the Collection.



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

Reply via email to