openejb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r453223 - /incubator/openejb/trunk/openejb2/modules/openejb-core/src/main/java/org/apache/openejb/corba/NameService.java
Date Thu, 05 Oct 2006 13:11:44 GMT
Author: kevan
Date: Thu Oct  5 06:11:44 2006
New Revision: 453223

URL: http://svn.apache.org/viewvc?view=rev&rev=453223
Log:
OPENEJB-277 Fix the constructor to insure the host instance variable is properly initialized.
Thanks Rick! 

Modified:
    incubator/openejb/trunk/openejb2/modules/openejb-core/src/main/java/org/apache/openejb/corba/NameService.java

Modified: incubator/openejb/trunk/openejb2/modules/openejb-core/src/main/java/org/apache/openejb/corba/NameService.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb2/modules/openejb-core/src/main/java/org/apache/openejb/corba/NameService.java?view=diff&rev=453223&r1=453222&r2=453223
==============================================================================
--- incubator/openejb/trunk/openejb2/modules/openejb-core/src/main/java/org/apache/openejb/corba/NameService.java
(original)
+++ incubator/openejb/trunk/openejb2/modules/openejb-core/src/main/java/org/apache/openejb/corba/NameService.java
Thu Oct  5 06:11:44 2006
@@ -79,8 +79,8 @@
         localServer = true;
         service = null;
         // if not specified, our default host is "localhost".
-        if (host == null) {
-            host = "localhost";
+        if (this.host == null) {
+            this.host = "localhost";
         }
     }
 



Mime
View raw message