Bryan Bende created NIFI-11332:
----------------------------------

             Summary: Stream from Files.readLines needs to be closed
                 Key: NIFI-11332
                 URL: https://issues.apache.org/jira/browse/NIFI-11332
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.20.0
            Reporter: Bryan Bende
            Assignee: Bryan Bende


[https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/manifest/StandardRuntimeManifestService.java#L154]

The javadoc for this method says:
{code:java}
* This method must be used within a try-with-resources statement or similar
     * control structure to ensure that the stream's open file is closed 
promptly
     * after the stream's operations have completed {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to