directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r899726 - /directory/apacheds/branches/apacheds-cidit/protocol-dns/src/main/java/org/apache/directory/server/dns/DnsServer.java
Date Fri, 15 Jan 2010 17:32:21 GMT
Author: kayyagari
Date: Fri Jan 15 17:32:21 2010
New Revision: 899726

URL: http://svn.apache.org/viewvc?rev=899726&view=rev
Log:
removed the creation of transports from the constructor.
This causes some serious issues if
 o one wants to setup a transport with a different port
 o one don't want to have a particular type of transport(like only UDP or TCP)

Modified:
    directory/apacheds/branches/apacheds-cidit/protocol-dns/src/main/java/org/apache/directory/server/dns/DnsServer.java

Modified: directory/apacheds/branches/apacheds-cidit/protocol-dns/src/main/java/org/apache/directory/server/dns/DnsServer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-cidit/protocol-dns/src/main/java/org/apache/directory/server/dns/DnsServer.java?rev=899726&r1=899725&r2=899726&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-cidit/protocol-dns/src/main/java/org/apache/directory/server/dns/DnsServer.java
(original)
+++ directory/apacheds/branches/apacheds-cidit/protocol-dns/src/main/java/org/apache/directory/server/dns/DnsServer.java
Fri Jan 15 17:32:21 2010
@@ -69,7 +69,6 @@
     {
         super.setServiceId( SERVICE_PID_DEFAULT );
         super.setServiceName( SERVICE_NAME_DEFAULT );
-        setTransports( new TcpTransport( DEFAULT_IP_PORT ), new UdpTransport( DEFAULT_IP_PORT
) );
     }
 
 



Mime
View raw message