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/07/18 14:28:00 UTC
[jira] [Created] (OFBIZ-10488) Replace Callable objects with lambda
expressions
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)