directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r713538 - in /directory: apacheds/branches/apacheds-mina2/protocol-dns/src/main/java/org/apache/directory/server/dns/Main.java installers/branches/installers-mina2/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
Date Wed, 12 Nov 2008 22:41:30 GMT
Author: elecharny
Date: Wed Nov 12 14:41:29 2008
New Revision: 713538

URL: http://svn.apache.org/viewvc?rev=713538&view=rev
Log:
Call the NioAcceptor with no argument instead of passing null.

Modified:
    directory/apacheds/branches/apacheds-mina2/protocol-dns/src/main/java/org/apache/directory/server/dns/Main.java
    directory/installers/branches/installers-mina2/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java

Modified: directory/apacheds/branches/apacheds-mina2/protocol-dns/src/main/java/org/apache/directory/server/dns/Main.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mina2/protocol-dns/src/main/java/org/apache/directory/server/dns/Main.java?rev=713538&r1=713537&r2=713538&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mina2/protocol-dns/src/main/java/org/apache/directory/server/dns/Main.java
(original)
+++ directory/apacheds/branches/apacheds-mina2/protocol-dns/src/main/java/org/apache/directory/server/dns/Main.java
Wed Nov 12 14:41:29 2008
@@ -63,7 +63,7 @@
         LOG.debug( "Starting the DNS server" );
         
         NioDatagramAcceptor datagramAcceptor = new NioDatagramAcceptor( null );
-        NioSocketAcceptor socketAcceptor = new NioSocketAcceptor( null );
+        NioSocketAcceptor socketAcceptor = new NioSocketAcceptor();
         DirectoryService directoryService = new DefaultDirectoryService();
         dnsConfiguration = new DnsServer();
         dnsConfiguration.setDatagramAcceptor( datagramAcceptor );

Modified: directory/installers/branches/installers-mina2/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
URL: http://svn.apache.org/viewvc/directory/installers/branches/installers-mina2/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java?rev=713538&r1=713537&r2=713538&view=diff
==============================================================================
--- directory/installers/branches/installers-mina2/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
(original)
+++ directory/installers/branches/installers-mina2/apacheds-noarch/src/main/java/org/apache/directory/server/Service.java
Wed Nov 12 14:41:29 2008
@@ -66,7 +66,7 @@
             LOG.info( "server: using default settings ..." );
             DirectoryService directoryService = new DefaultDirectoryService();
             directoryService.startup();
-            SocketAcceptor socketAcceptor = new NioSocketAcceptor( null );
+            SocketAcceptor socketAcceptor = new NioSocketAcceptor();
             LdapService ldapService = new LdapService();
             ldapService.setSocketAcceptor( socketAcceptor );
             ldapService.setDirectoryService( directoryService );



Mime
View raw message