[JIRA] (MDA-279) DOMResourceStage should close the input stream it gets from the resource

Ian Young (Jira) jira at shibboleth.atlassian.net
Thu Mar 23 17:24:17 UTC 2023


Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 ) *commented* on MDA-279 ( https://shibboleth.atlassian.net/browse/MDA-279?atlOrigin=eyJpIjoiOGEyOGEzYzI5YjdhNDExNjhlNWQ5OWQwYmIxNTViOGQiLCJwIjoiaiJ9 )

Re: DOMResourceStage should close the input stream it gets from the resource ( https://shibboleth.atlassian.net/browse/MDA-279?atlOrigin=eyJpIjoiOGEyOGEzYzI5YjdhNDExNjhlNWQ5OWQwYmIxNTViOGQiLCJwIjoiaiJ9 )

I was looking in the wrong place. The stream is in fact already acquired through a try-with-resources, so everything is fine. Added a confirmatory test, though.

( https://shibboleth.atlassian.net/browse/MDA-279#add-comment?atlOrigin=eyJpIjoiOGEyOGEzYzI5YjdhNDExNjhlNWQ5OWQwYmIxNTViOGQiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/MDA-279#add-comment?atlOrigin=eyJpIjoiOGEyOGEzYzI5YjdhNDExNjhlNWQ5OWQwYmIxNTViOGQiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100219- sha1:0c2c9f2 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230323/d9b1d6dc/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-ff7e04a6-4eb7-42ce-850e-c1dc568b4a85
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230323/d9b1d6dc/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-0b898d50-b877-4cd8-ac23-b357a5f6cf7b
Type: image/png
Size: 345 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230323/d9b1d6dc/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-e4bf74c0-2d50-4460-af04-7951152346bc
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230323/d9b1d6dc/attachment-0005.png>


More information about the commits mailing list