Skip to content

Conversation

@elharo
Copy link
Contributor

@elharo elharo commented May 29, 2020

@elharo elharo requested a review from michael-o May 29, 2020 10:42
@elharo elharo merged commit a51b3eb into master May 29, 2020
@elharo elharo deleted the path branch May 29, 2020 14:43
Copy link

@jochenw jochenw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Doesn't

try ( InputStream in = is )

end with closing the InputStream in (aka is)?

@roxspring
Copy link
Contributor

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.

@jira-importer
Copy link

Resolve #305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants