Author: jleroux
Date: Sun Jun 23 11:02:41 2013
New Revision: 1495807

URL: http://svn.apache.org/r1495807
Log:
No functional changes while working on OFBIZ-4794
* Organize imports
* Fix wrong comments

Modified:
    
ofbiz/trunk/framework/base/src/org/ofbiz/base/container/NamingServiceContainer.java

Modified: 
ofbiz/trunk/framework/base/src/org/ofbiz/base/container/NamingServiceContainer.java
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/container/NamingServiceContainer.java?rev=1495807&r1=1495806&r2=1495807&view=diff
==============================================================================
--- 
ofbiz/trunk/framework/base/src/org/ofbiz/base/container/NamingServiceContainer.java
 (original)
+++ 
ofbiz/trunk/framework/base/src/org/ofbiz/base/container/NamingServiceContainer.java
 Sun Jun 23 11:02:41 2013
@@ -19,10 +19,10 @@
 package org.ofbiz.base.container;
 
 import java.net.UnknownHostException;
-import java.rmi.registry.Registry;
-import java.rmi.registry.LocateRegistry;
-import java.rmi.RemoteException;
 import java.rmi.NoSuchObjectException;
+import java.rmi.RemoteException;
+import java.rmi.registry.LocateRegistry;
+import java.rmi.registry.Registry;
 import java.rmi.server.UnicastRemoteObject;
 
 import org.ofbiz.base.util.RMIExtendedSocketFactory;
@@ -52,7 +52,8 @@ public class NamingServiceContainer impl
 
         ContainerConfig.Container cfg = ContainerConfig.getContainer(name, 
configFileLocation);
 
-        // get the telnet-port
+        // get the naming (JNDI) port
+        
         ContainerConfig.Container.Property port = cfg.getProperty("port");
         if (port.value != null) {
             try {
@@ -62,7 +63,7 @@ public class NamingServiceContainer impl
             }
         }
 
-        // get the telnet-host
+        // get the naming (JNDI) server
         ContainerConfig.Container.Property host = cfg.getProperty("host");
         if (host != null && host.value != null) {
             this.namingHost =  host.value ;


Reply via email to