You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mathieu Lirzin (JIRA)" <ji...@apache.org> on 2018/08/03 16:13:00 UTC

[jira] [Created] (OFBIZ-10505) Use the stream API in FormRenderer

Mathieu Lirzin created OFBIZ-10505:
--------------------------------------

             Summary: 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
             Fix For: Trunk


I am refactoring the {{FormRenderer}} class to improve its declarativity.  Here are 3 patches which goes 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 unecessary contruction of intermediate concrete lists.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)