[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/socket ...

Ron Sigal ron_sigal at yahoo.com
Tue Nov 27 04:59:28 EST 2007


  User: rsigal  
  Date: 07/11/27 04:59:28

  Modified:    src/main/org/jboss/remoting/transport/socket  Tag:
                        remoting_2_x SocketWrapper.java
  Log:
  JBREM-807, JBREM-821:  In close() commented out closing of InputStream and OutputStream.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.8.10.13 +28 -28    JBossRemoting/src/main/org/jboss/remoting/transport/socket/SocketWrapper.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SocketWrapper.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/socket/SocketWrapper.java,v
  retrieving revision 1.8.10.12
  retrieving revision 1.8.10.13
  diff -u -b -r1.8.10.12 -r1.8.10.13
  --- SocketWrapper.java	27 Nov 2007 08:57:22 -0000	1.8.10.12
  +++ SocketWrapper.java	27 Nov 2007 09:59:28 -0000	1.8.10.13
  @@ -93,34 +93,34 @@
   
      public void close() throws IOException
      {      
  -      InputStream in = getInputStream();
  -      if (in != null)
  -      {
  -         try
  -         {
  -            log.trace(this + " closing input stream");
  -            in.close();
  -            log.trace(this + " closed input stream");
  -         }
  -         catch (IOException e)
  -         {
  -            log.debug(this + " unable to close input stream");
  -         }
  -      }
  -      OutputStream out = getOutputStream();
  -      if (out != null)
  -      {
  -         try
  -         {
  -            log.trace(this + " closing output stream");
  -            out.close();
  -            log.trace(this + " closed input stream");
  -         }
  -         catch (IOException e)
  -         {
  -            log.debug(this + " unable to close output stream");
  -         }
  -      }
  +//      InputStream in = getInputStream();
  +//      if (in != null)
  +//      {
  +//         try
  +//         {
  +//            log.trace(this + " closing input stream");
  +//            in.close();
  +//            log.trace(this + " closed input stream");
  +//         }
  +//         catch (IOException e)
  +//         {
  +//            log.debug(this + " unable to close input stream");
  +//         }
  +//      }
  +//      OutputStream out = getOutputStream();
  +//      if (out != null)
  +//      {
  +//         try
  +//         {
  +//            log.trace(this + " closing output stream");
  +//            out.close();
  +//            log.trace(this + " closed input stream");
  +//         }
  +//         catch (IOException e)
  +//         {
  +//            log.debug(this + " unable to close output stream");
  +//         }
  +//      }
   
         if(socket != null)
         {
  
  
  



More information about the jboss-cvs-commits mailing list