[
https://issues.apache.org/jira/browse/NIFI-14084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17906094#comment-17906094
]
Daniel Stieglitz edited comment on NIFI-14084 at 12/16/24 3:53 PM:
-------------------------------------------------------------------
The following query includes what is discovered in the aforementioned query and
other instances of anonymous classes which can be replaced by lambda
{code:java}
\(.*new\s+\w+\(\)\s*\{{code}
NOTE: It also includes anonymous classes which cannot be replaced by lambda.
was (Author: JIRAUSER294662):
The following query includes what is discovered in the aforementioned query and
other instances of anonymous classes which can be replaced by lambda
{code:java}
\(.*new\s+\w+\(\)\s*\{{code}
> Replace anonymous classes with lambdas part 2
> ---------------------------------------------
>
> Key: NIFI-14084
> URL: https://issues.apache.org/jira/browse/NIFI-14084
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
>
> NIFI-14067 aimed to replace anonymous classes with lambdas. This ticket aims
> to replace more that were discovered with the following regex query over the
> code
> {code:java}
> new\s+(Input|Output)?StreamCallback{code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)