[
https://issues.apache.org/jira/browse/NIFI-16052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-16052:
------------------------------------
Description: 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. (was: 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. )
> 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: 10m
> 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)