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

Replace Callable objects with lambda expressions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • None
    • None
    • None

    Description

      Since Java 8 it is possible to instantiate functional interfaces (interfaces with one non-static method) with lambda expressions instead of anonymous classes.

      The attached patch replace the creation of callable objects with lambda expressions.

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            mthl Mathieu Lirzin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: