[
https://issues.apache.org/jira/browse/OFBIZ-10537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16598746#comment-16598746 ]
Gil Portenseigne commented on OFBIZ-10537:
------------------------------------------
Hello Jacques, Thanks for your feedback.
Yes it is very nicer on the eye, and for one-line/multi-line, i feel like using one-line for stream is good if the used lambda is simple.
And lambda should be simple :)
> Refactor EntityUtil findBy methods using Stream API
> ---------------------------------------------------
>
> Key: OFBIZ-10537
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10537> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Gil Portenseigne
> Assignee: Gil Portenseigne
> Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10537-1_integration_tests.patch, OFBIZ-10537-2_refactor_streams.patch
>
>
> Refactoring EntityUtil methods that were using lots of for loops using Stream API. Increasing readability and simplicity.
> Adding integration test around this improvement.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)