Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10505

Use the stream API in FormRenderer

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              gil portenseigne Gil Portenseigne
              Reporter:
              mthl Mathieu Lirzin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: