[
https://issues.apache.org/jira/browse/NIFI-16041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-16041:
------------------------------------
Description:
Running Intellij
Analyze -> Run Inspection by Name -> Pattern variable can be used
indicates there are over 150 places in the code where the Pattern variable cab
be used.
Using pattern variable will allow for simplifying the code and removing an
unnecessary cast.
More information on pattern variables can be found
[here|https://docs.oracle.com/en/java/javase/17/language/pattern-matching-instanceof.html]
was:
Running Intellij
Analyze -> Run Inspection by Name -> Pattern variable can be used
indicates there are over 150 places in the code where the Pattern variable cab
be used.
Using pattern variable will allow for simplifying the code and removing an
unnecessary cast.
More information pattern variables can be seen
[here|https://docs.oracle.com/en/java/javase/17/language/pattern-matching-instanceof.html]
> Apply Pattern variable where possible
> -------------------------------------
>
> Key: NIFI-16041
> URL: https://issues.apache.org/jira/browse/NIFI-16041
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
>
> Running Intellij
> Analyze -> Run Inspection by Name -> Pattern variable can be used
> indicates there are over 150 places in the code where the Pattern variable
> cab be used.
> Using pattern variable will allow for simplifying the code and removing an
> unnecessary cast.
> More information on pattern variables can be found
> [here|https://docs.oracle.com/en/java/javase/17/language/pattern-matching-instanceof.html]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)