directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r379058 - /directory/trunks/apacheds/server-sar/src/main/java/org/apache/directory/server/sar/DirectoryService.java
Date Mon, 20 Feb 2006 08:47:38 GMT
Author: trustin
Date: Mon Feb 20 00:47:36 2006
New Revision: 379058

URL: http://svn.apache.org/viewcvs?rev=379058&view=rev
Log:
Fixed compilation errors in apacheds-server-sar

Modified:
    directory/trunks/apacheds/server-sar/src/main/java/org/apache/directory/server/sar/DirectoryService.java

Modified: directory/trunks/apacheds/server-sar/src/main/java/org/apache/directory/server/sar/DirectoryService.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/server-sar/src/main/java/org/apache/directory/server/sar/DirectoryService.java?rev=379058&r1=379057&r2=379058&view=diff
==============================================================================
--- directory/trunks/apacheds/server-sar/src/main/java/org/apache/directory/server/sar/DirectoryService.java
(original)
+++ directory/trunks/apacheds/server-sar/src/main/java/org/apache/directory/server/sar/DirectoryService.java
Mon Feb 20 00:47:36 2006
@@ -25,9 +25,6 @@
 import org.apache.directory.server.core.configuration.SyncConfiguration;
 import org.apache.directory.server.jndi.ServerContextFactory;
 
-import org.apache.mina.registry.ServiceRegistry;
-import org.apache.mina.registry.SimpleServiceRegistry;
-
 import org.jboss.system.ServiceMBeanSupport;
 
 import org.slf4j.Logger;
@@ -72,8 +69,6 @@
 
     private static final Logger LOG = LoggerFactory.getLogger( DirectoryService.class );
 
-    private static final ServiceRegistry DEFAULT_MINA_REGISTRY = new SimpleServiceRegistry();
-
     /** Default LDAP Listen Port */
     public static final int DEFAULT_LDAP_PORT = 389;
 
@@ -151,8 +146,6 @@
             cfg.setAllowAnonymousAccess( this.anonymousAccess );
 
             // Wire protocols
-            cfg.setMinaServiceRegistry( DEFAULT_MINA_REGISTRY );
-
             cfg.setEnableNetworking( this.ldapNetworkingSupport );
             cfg.setLdapPort( this.ldapPort );
             cfg.setLdapsPort( this.ldapsPort );
@@ -275,7 +268,7 @@
         while ( en.hasMoreElements() )
         {
             key = ( String ) en.nextElement();
-            env.put( key, ( String ) ht.get( key ) );
+            env.put( key, ht.get( key ) );
         }
     }
 



Mime
View raw message