[jira] [Created] (OFBIZ-10488) Replace Callable objects with lambda expressions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-10488) Replace Callable objects with lambda expressions

Nicolas Malin (Jira)
Mathieu Lirzin created OFBIZ-10488:
--------------------------------------

             Summary: Replace Callable objects with lambda expressions
                 Key: OFBIZ-10488
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10488
             Project: OFBiz
          Issue Type: Improvement
            Reporter: Mathieu Lirzin
             Fix For: Upcoming Branch


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.



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