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

Ron Sigal ron_sigal at yahoo.com
Sat Jun 2 01:48:38 EDT 2007


  User: rsigal  
  Date: 07/06/02 01:48:38

  Modified:    src/main/org/jboss/remoting/transport/bisocket  Tag:
                        remoting_2_x BisocketServerInvoker.java
  Log:
  JBREM-751:  In ControlConnectionThread.run(), test Exception messages using equalsIgnoreCase().
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.23  +4 -4      JBossRemoting/src/main/org/jboss/remoting/transport/bisocket/BisocketServerInvoker.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BisocketServerInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/bisocket/BisocketServerInvoker.java,v
  retrieving revision 1.1.2.22
  retrieving revision 1.1.2.23
  diff -u -b -r1.1.2.22 -r1.1.2.23
  --- BisocketServerInvoker.java	5 May 2007 07:43:14 -0000	1.1.2.22
  +++ BisocketServerInvoker.java	2 Jun 2007 05:48:38 -0000	1.1.2.23
  @@ -58,7 +58,7 @@
   /**
    *
    * @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
  - * @version $Revision: 1.1.2.22 $
  + * @version $Revision: 1.1.2.23 $
    * <p>
    * Copyright Nov 23, 2006
    * </p>
  @@ -723,9 +723,9 @@
               {
                  if (running)
                  {
  -                  if ("socket closed".equals(e.getMessage()) ||
  -                      "Socket is closed".equals(e.getMessage()) ||
  -                      "Connection reset".equals(e.getMessage()))
  +                  if ("Socket closed".equalsIgnoreCase(e.getMessage()) ||
  +                      "Socket is closed".equalsIgnoreCase(e.getMessage()) ||
  +                      "Connection reset".equalsIgnoreCase(e.getMessage()))
                     {
                        shutdown();
                        return;
  
  
  



More information about the jboss-cvs-commits mailing list