[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport ...
Ron Sigal
ron_sigal at yahoo.com
Wed May 23 00:58:03 EDT 2007
User: rsigal
Date: 07/05/23 00:58:03
Modified: src/main/org/jboss/remoting/transport Tag: remoting_2_x
Connector.java
Log:
JBREM-687: When creating an InvokerLocator from XML document, no longer converts host 0.0.0.0 to an actual address.
Revision Changes Path
No revision
No revision
1.27.2.4 +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.2.3
retrieving revision 1.27.2.4
diff -u -b -r1.27.2.3 -r1.27.2.4
--- Connector.java 22 May 2007 01:14:16 -0000 1.27.2.3
+++ Connector.java 23 May 2007 04:58:03 -0000 1.27.2.4
@@ -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.2.3 $
+ * @version $Revision: 1.27.2.4 $
* @jmx.mbean description = "An MBean wrapper around a ServerInvoker."
* @jboss.xmbean
*/
@@ -524,11 +524,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