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

Ron Sigal ron_sigal at yahoo.com
Wed May 23 01:10:24 EDT 2007


  User: rsigal  
  Date: 07/05/23 01:10:24

  Modified:    src/main/org/jboss/remoting/transport  Connector.java
  Log:
  JBREM-687:  No longer replaces host == 0.0.0.0.
  
  Revision  Changes    Path
  1.28      +1 -6      JBossRemoting/src/main/org/jboss/remoting/transport/Connector.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Connector.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/Connector.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -b -r1.27 -r1.28
  --- Connector.java	30 Aug 2006 15:50:46 -0000	1.27
  +++ Connector.java	23 May 2007 05:10:23 -0000	1.28
  @@ -111,7 +111,7 @@
    * @author <a href="mailto:d_jencks at users.sourceforge.net">David Jencks</a>
    * @author <a href="mailto:juha at jboss.org">Juha Lindfors</a>
    * @author <a href="mailto:tom at jboss.org">Tom Elrod</a>
  - * @version $Revision: 1.27 $
  + * @version $Revision: 1.28 $
    * @jmx.mbean description = "An MBean wrapper around a ServerInvoker."
    * @jboss.xmbean
    */
  @@ -519,11 +519,6 @@
                  String host = clientConnectAddress != null ? clientConnectAddress : serverBindAddress != null ? serverBindAddress : InetAddress.getLocalHost().getHostAddress();
                  int port = clientConnectPort != null ? Integer.parseInt(clientConnectPort) : serverBindPort != null ? Integer.parseInt(serverBindPort) : PortUtil.findFreePort(serverBindAddress != null ? serverBindAddress : InetAddress.getLocalHost().getHostAddress());
   
  -               if ("0.0.0.0".equals(host))
  -               {
  -                  host = InetAddress.getLocalHost().getHostAddress();
  -               }
  -
                  // finally, let's bild the invoker uri
                  String tempURI = transport + "://" + host + ":" + port;
   
  
  
  



More information about the jboss-cvs-commits mailing list