[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKWRAP-215) Do not expose implementation-specific InputStreams from the Importer/Exporter APIs

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Thu Jul 29 19:03:49 EDT 2010


Do not expose implementation-specific InputStreams from the Importer/Exporter APIs
----------------------------------------------------------------------------------

                 Key: SHRINKWRAP-215
                 URL: https://jira.jboss.org/browse/SHRINKWRAP-215
             Project: ShrinkWrap
          Issue Type: Task
            Reporter: Andrew Lee Rubinger
            Assignee: Andrew Lee Rubinger
             Fix For: 1.0.0-alpha-12


We should accept Files and InputStreams, not any implementation-specific types in these APIs.

For instance: importFrom(ZipInputStream) is leaking out the internals of how we modify these contents.   Just take in a generic instream and let our impls do all necessary wrapping. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list