[ 
https://issues.apache.org/jira/browse/NIFI-16041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18091815#comment-18091815
 ] 

ASF subversion and git services commented on NIFI-16041:
--------------------------------------------------------

Commit 540cb0b4527ad0a5e8d8b3e3367f15069c46e47a in nifi's branch 
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=540cb0b4527 ]

NIFI-16041 Applied pattern variable where possible (#11366)

> 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
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to