[
https://issues.apache.org/jira/browse/NIFI-16052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18092052#comment-18092052
]
ASF subversion and git services commented on NIFI-16052:
--------------------------------------------------------
Commit 4a077487e3b00c26cfa42e219b6c99053ad1217a in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4a077487e3b ]
NIFI-16052 Made prexisting pattern variables final (#11373)
> Make prexisting pattern variables final
> ---------------------------------------
>
> Key: NIFI-16052
> URL: https://issues.apache.org/jira/browse/NIFI-16052
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> NIFI-16041 refactored many instanceof blocks to use the pattern variable. The
> keyword final was used there to be consistent with the code style rule that
> any variable that can be final must be final. Prior to NIFI-16041, there had
> been already many pattern variables but they were not declared final. The
> goal of this ticket is to declare those pattern variables final to be
> consistent with the coding style.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)