directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r723058 - /directory/apacheds/branches/apacheds-mina2/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/AbstractProtocolService.java
Date Wed, 03 Dec 2008 20:16:49 GMT
Author: elecharny
Date: Wed Dec  3 12:16:49 2008
New Revision: 723058

URL: http://svn.apache.org/viewvc?rev=723058&view=rev
Log:
Replaced tabs by 4 spaces.

Modified:
    directory/apacheds/branches/apacheds-mina2/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/AbstractProtocolService.java

Modified: directory/apacheds/branches/apacheds-mina2/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/AbstractProtocolService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mina2/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/AbstractProtocolService.java?rev=723058&r1=723057&r2=723058&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mina2/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/AbstractProtocolService.java
(original)
+++ directory/apacheds/branches/apacheds-mina2/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/AbstractProtocolService.java
Wed Dec  3 12:16:49 2008
@@ -202,8 +202,8 @@
         this.ipPort = ipPort;
         
         // Now, substitute the existing values by the new one
-     	udpPort = ipPort;
-       	tcpPort = ipPort;
+         udpPort = ipPort;
+         tcpPort = ipPort;
     }
 
 
@@ -291,77 +291,77 @@
      * overloaded by the specific NbUdpThreads or nbTcpThreads if those
      * transport protocols are defined.
      */
-	public int getNbThreads() 
-	{
-		return nbThreads;
-	}
+    public int getNbThreads() 
+    {
+        return nbThreads;
+    }
 
 
     /**
      * @return The number of thread used in the IoAcceptor executor for
      * a TCP transport protocol based Acceptor.
      */
-	public int getNbTcpThreads() 
-	{
-		return nbTcpThreads;
-	}
+    public int getNbTcpThreads() 
+    {
+        return nbTcpThreads;
+    }
 
 
     /**
      * @return The number of thread used in the IoAcceptor executor for
      * a UDP transport protocol based Acceptor.
      */
-	public int getNbUdpThreads() 
-	{
-		return nbUdpThreads;
-	}
-
-
-	/**
-	 * @param nbThreads The number of thread to affect to the IoAcceptor
-	 * executor. This number will be injected into the UDP and TCP
-	 * nbThreads value.
-	 */
-	public void setNbThreads(int nbThreads) 
-	{
-		this.nbThreads = nbThreads;
-		this.nbTcpThreads = nbThreads;
-		this.nbUdpThreads = nbThreads;
-	}
-
-
-	/**
-	 * @param nbThreads The number of thread to affect to the 
-	 * TCP transport protocol based IoAcceptor executor
-	 */
-	public void setNbTcpThreads(int nbTcpThreads) 
-	{
-		this.nbTcpThreads = nbTcpThreads;
-	}
-
-
-	/**
-	 * @param nbThreads The number of thread to affect to the 
-	 * UDP transport protocol based IoAcceptor executor
-	 */
-	public void setNbUdpThreads(int nbUdpThreads) 
-	{
-		this.nbUdpThreads = nbUdpThreads;
-	}
-
-
-	/**
-	 * @return the ipBacklog
-	 */
-	public int getIpBacklog() {
-		return ipBacklog;
-	}
-
-
-	/**
-	 * @param ipBacklog the ipBacklog to set
-	 */
-	public void setIpBacklog(int ipBacklog) {
+    public int getNbUdpThreads() 
+    {
+        return nbUdpThreads;
+    }
+
+
+    /**
+     * @param nbThreads The number of thread to affect to the IoAcceptor
+     * executor. This number will be injected into the UDP and TCP
+     * nbThreads value.
+     */
+    public void setNbThreads(int nbThreads) 
+    {
+        this.nbThreads = nbThreads;
+        this.nbTcpThreads = nbThreads;
+        this.nbUdpThreads = nbThreads;
+    }
+
+
+    /**
+     * @param nbThreads The number of thread to affect to the 
+     * TCP transport protocol based IoAcceptor executor
+     */
+    public void setNbTcpThreads(int nbTcpThreads) 
+    {
+        this.nbTcpThreads = nbTcpThreads;
+    }
+
+
+    /**
+     * @param nbThreads The number of thread to affect to the 
+     * UDP transport protocol based IoAcceptor executor
+     */
+    public void setNbUdpThreads(int nbUdpThreads) 
+    {
+        this.nbUdpThreads = nbUdpThreads;
+    }
+
+
+    /**
+     * @return the ipBacklog
+     */
+    public int getIpBacklog() {
+        return ipBacklog;
+    }
+
+
+    /**
+     * @param ipBacklog the ipBacklog to set
+     */
+    public void setIpBacklog(int ipBacklog) {
         if ( ipBacklog < 0  )
         {
             throw new IllegalArgumentException( "Invalid backlog number: " + ipBacklog );
@@ -372,37 +372,37 @@
         // Now, substitute the existing values by the new one
         tcpBacklog = ipBacklog;
         udpBacklog = ipBacklog;
-	}
+    }
+
+
+    /**
+     * @return the tcpBacklog
+     */
+    public int getTcpBacklog() {
+        return tcpBacklog;
+    }
 
 
-	/**
-	 * @return the tcpBacklog
-	 */
-	public int getTcpBacklog() {
-		return tcpBacklog;
-	}
-
-
-	/**
-	 * @param tcpBacklog the tcpBacklog to set
-	 */
-	public void setTcpBacklog(int tcpBacklog) {
-		this.tcpBacklog = tcpBacklog;
-	}
-
-
-	/**
-	 * @return the udpBacklog
-	 */
-	public int getUdpBacklog() {
-		return udpBacklog;
-	}
-
-
-	/**
-	 * @param udpBacklog the udpBacklog to set
-	 */
-	public void setUdpBacklog(int udpBacklog) {
-		this.udpBacklog = udpBacklog;
-	}
+    /**
+     * @param tcpBacklog the tcpBacklog to set
+     */
+    public void setTcpBacklog(int tcpBacklog) {
+        this.tcpBacklog = tcpBacklog;
+    }
+
+
+    /**
+     * @return the udpBacklog
+     */
+    public int getUdpBacklog() {
+        return udpBacklog;
+    }
+
+
+    /**
+     * @param udpBacklog the udpBacklog to set
+     */
+    public void setUdpBacklog(int udpBacklog) {
+        this.udpBacklog = udpBacklog;
+    }
 }



Mime
View raw message