[
https://issues.apache.org/jira/browse/OFBIZ-10505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16569413#comment-16569413 ]
Mathieu Lirzin commented on OFBIZ-10505:
----------------------------------------
Thanks [~gil portenseigne]
> Use the stream API in FormRenderer
> ----------------------------------
>
> Key: OFBIZ-10505
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10505> Project: OFBiz
> Issue Type: Improvement
> Affects Versions: Trunk
> Reporter: Mathieu Lirzin
> Assignee: Gil Portenseigne
> Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10505_0001-Add-filteringDuplicateNames.patch, OFBIZ-10505_0002-Add-groupingByPosition.patch, OFBIZ-10505_0003-Add-filteringIgnoredFields-static-method.patch
>
>
> I am refactoring the {{FormRenderer}} class to make it more declarative. Here are 3 patches going in that direction by using the stream API.
> The specificity of those patches is that it emphasize the use of predicates and collectors over subroutines. This has the advantage of composing well when using he stream API, and avoid unnecessary construction of intermediate results.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)