[
https://issues.apache.org/jira/browse/OFBIZ-10488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16718706#comment-16718706
]
Mathieu Lirzin commented on OFBIZ-10488:
----------------------------------------
Thanks to the recent cleanups done in OFBIZ-10701, I was able to detect that
revision 1848514 has introduced some “unused import” warning. I have included
[^OFBIZ-10488_Remove-unused-imports.patch] which fixes those issues.
> 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
> Assignee: Jacques Le Roux
> Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10488_Remove-unused-imports.patch,
> OFBIZ-10488_Replace-Callable-objects-with-lambda-expressions.patch
>
>
> 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)