Daniel Stieglitz created NIFI-16068:
---------------------------------------
Summary: Reports unnecessary calls to close() at the end of a
try-with-resources block
Key: NIFI-16068
URL: https://issues.apache.org/jira/browse/NIFI-16068
Project: Apache NiFi
Issue Type: Improvement
Reporter: Daniel Stieglitz
Assignee: Daniel Stieglitz
try with resources block guarantees to call the {{close}} method hence it is
not necessary to call it explicitly. Both {{FlowFilePackagerV1}} and
{{FlowStatusReport}} call {{{}close{}}}() explicitly in try with resources
block and they should be removed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)