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

Replace Callable objects with lambda expressions

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment