roxspring commented on pull request #41:
URL: https://github.com/apache/maven-shared-utils/pull/41#issuecomment-661703131


   > Question: Doesn't
   > 
   > ```
   > try ( InputStream in = is )
   > ```
   > 
   > end with closing the InputStream in (aka is)?
   
   This has already been discussed here:
   https://github.com/apache/maven-shared-utils/pull/41/files#r432415800
   
   In short: Yes it closes the `InputStream` but the original code did too and 
changing the behaviour would be bad.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to