You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/06/26 10:26:00 UTC
[jira] [Commented] (NIFI-16041) Apply Pattern variable where possible
[ 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)