Author: darran.lofthouse(a)jboss.com
Date: 2009-02-09 07:47:28 -0500 (Mon, 09 Feb 2009)
New Revision: 9269
Modified:
stack/native/branches/dlofthouse/JBPAPP-1687/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java
Log:
Merge revision 8845
Modified:
stack/native/branches/dlofthouse/JBPAPP-1687/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java
===================================================================
---
stack/native/branches/dlofthouse/JBPAPP-1687/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java 2009-02-09
12:40:50 UTC (rev 9268)
+++
stack/native/branches/dlofthouse/JBPAPP-1687/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java 2009-02-09
12:47:28 UTC (rev 9269)
@@ -330,17 +330,6 @@
// clear thread local storage
ThreadLocalAssociation.clear();
- try
- {
- if (outStream != null)
- {
- outStream.close();
- }
- }
- catch (IOException ex)
- {
- WSException.rethrow(ex);
- }
}
}
@@ -365,14 +354,7 @@
}
else
{
- try
- {
- resMessage.writeTo(outputStream);
- }
- finally
- {
- outputStream.close();
- }
+ resMessage.writeTo(outputStream);
}
}
@@ -582,17 +564,6 @@
{
throw new WSException(ex);
}
- finally
- {
- try
- {
- outputStream.close();
- }
- catch (IOException ioe)
- {
- throw new WSException(ioe);
- }
- }
}
private void handleException(Exception ex) throws ServletException
Show replies by date