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

Ron Sigal ron_sigal at yahoo.com
Fri Jun 29 22:55:43 EDT 2007


  User: rsigal  
  Date: 07/06/29 22:55:43

  Modified:    src/main/org/jboss/remoting/transport/bisocket  Tag:
                        remoting_2_2_0_GA BisocketServerInvoker.java
  Log:
  JBREM-751:  In ControlConnectionThread.run(), test Exception messages using equalsIgnoreCase().
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.17.2.3 +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.17.2.2
  retrieving revision 1.1.2.17.2.3
  diff -u -b -r1.1.2.17.2.2 -r1.1.2.17.2.3
  --- BisocketServerInvoker.java	3 May 2007 21:48:10 -0000	1.1.2.17.2.2
  +++ BisocketServerInvoker.java	30 Jun 2007 02:55:43 -0000	1.1.2.17.2.3
  @@ -58,7 +58,7 @@
   /**
    *
    * @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
  - * @version $Revision: 1.1.2.17.2.2 $
  + * @version $Revision: 1.1.2.17.2.3 $
    * <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