[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKWRAP-109) IOUtil.closeOnComplete(StreamTask<S>, StreamErrorHandler) does nothing

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Tue Dec 22 10:32:30 EST 2009


IOUtil.closeOnComplete(StreamTask<S>, StreamErrorHandler)  does nothing
-----------------------------------------------------------------------

                 Key: SHRINKWRAP-109
                 URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-109
             Project: ShrinkWrap
          Issue Type: Bug
          Components: impl-base
            Reporter: Andrew Lee Rubinger


/**
    * Helper method to run a specified task and automatically handle the closing of the stream.
    * 
    * @param <S>
    * @param task
    * @param errorHandler
    */
   public static <S extends Closeable> void closeOnComplete(StreamTask<S> task, StreamErrorHandler errorHandler)
   {

   }

Delegate to a working implementation, and add a test to ensure working.

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

        


More information about the shrinkwrap-issues mailing list