[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Ron Sigal
ron_sigal at yahoo.com
Thu Oct 11 02:27:35 EDT 2007
User: rsigal
Date: 07/10/11 02:27:35
Modified: src/main/org/jboss/remoting Tag: remoting_2_2_2_GA_CP
InvokerLocator.java
Log:
JBREM-687: Backed out changes for JBREM-687 ("No longer replaces host == 0.0.0.0.").
Revision Changes Path
No revision
No revision
1.22.18.2 +2 -2 JBossRemoting/src/main/org/jboss/remoting/InvokerLocator.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InvokerLocator.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/InvokerLocator.java,v
retrieving revision 1.22.18.1
retrieving revision 1.22.18.2
diff -u -b -r1.22.18.1 -r1.22.18.2
--- InvokerLocator.java 11 Oct 2007 05:28:28 -0000 1.22.18.1
+++ InvokerLocator.java 11 Oct 2007 06:27:35 -0000 1.22.18.2
@@ -58,7 +58,7 @@
*
* @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
* @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
- * @version $Revision: 1.22.18.1 $
+ * @version $Revision: 1.22.18.2 $
*/
public class InvokerLocator implements Serializable
{
@@ -88,7 +88,7 @@
/**
* Indicates should address binding to all network interfaces (i.e. 0.0.0.0)
*/
- public static final String ANY = "0.0.0.0";
+ private static final String ANY = "0.0.0.0";
/**
* Constant value for server bind address system property. Value is 'jboss.bind.address'.
*/
@@ -271,7 +271,7 @@
{
try
{
- if(address == null)
+ if(address == null || ANY.equals(address))
{
boolean byHost = true;
String bindByHost = System.getProperty(BIND_BY_HOST, "True");
More information about the jboss-cvs-commits
mailing list