[shrinkwrap-issues] [JBoss JIRA] Closed: (SHRINKDESC-18) DescriptorImporter.from(InputStream) should close the IS by default, have option to leave open

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Tue Aug 2 03:02:28 EDT 2011


     [ https://issues.jboss.org/browse/SHRINKDESC-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Rubinger closed SHRINKDESC-18.
-------------------------------------

    Fix Version/s: 1.1.0-alpha-3
       Resolution: Done


Upstream: https://github.com/shrinkwrap/descriptors/commit/c528b95230c7460b643913db54fd3613d4fef890

> DescriptorImporter.from(InputStream) should close the IS by default, have option to leave open
> ----------------------------------------------------------------------------------------------
>
>                 Key: SHRINKDESC-18
>                 URL: https://issues.jboss.org/browse/SHRINKDESC-18
>             Project: ShrinkWrap Descriptors
>          Issue Type: Feature Request
>          Components: api
>    Affects Versions: 0.1.0
>            Reporter: Dan Allen
>            Assignee: Tommy Tynjä
>            Priority: Minor
>             Fix For: 1.1.0-alpha-3
>
>
> The import process should close the stream. After all, the main purpose of providing the stream is to slurp up all the contents. If the stream is left open, we throw the burden back on the developer to close it (and all the try/catch block headaches)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the shrinkwrap-issues mailing list