afs commented on issue #2309: URL: https://github.com/apache/jena/issues/2309#issuecomment-1979772763
If an InputStream is passed in, then the responsibility for closing is the caller, which fits the try-with-resources pattern. In the case of `load(String filenameOrURI, ResultsFormat format)`, the `InputStream` is created within `ResultSetFactory` and should be used with try-with-resources. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
