From df0e36ba23d4992009b1b694bb5cb37ba9587836 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Tue, 23 Jun 2009 15:13:22 +0000
Subject: [PATCH] Remove dead code in the replication without any functionality change.

---
 opends/src/server/org/opends/server/replication/protocol/ServerStartMsg.java |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/protocol/ServerStartMsg.java b/opends/src/server/org/opends/server/replication/protocol/ServerStartMsg.java
index 33720f3..16a325b 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ServerStartMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ServerStartMsg.java
@@ -70,10 +70,6 @@
    * @param serverId The serverId of the server for which the ServerStartMsg
    *                 is created.
    * @param baseDn   The base DN.
-   * @param maxReceiveDelay The max receive delay for this server.
-   * @param maxReceiveQueue The max receive Queue for this server.
-   * @param maxSendDelay The max Send Delay from this server.
-   * @param maxSendQueue The max send Queue from this server.
    * @param windowSize   The window size used by this server.
    * @param heartbeatInterval The requested heartbeat interval.
    * @param serverState  The state of this server.
@@ -83,9 +79,7 @@
    *                      after the start messages have been exchanged.
    * @param groupId The group id of the DS for this DN
    */
-  public ServerStartMsg(short serverId, String baseDn, int maxReceiveDelay,
-                            int maxReceiveQueue, int maxSendDelay,
-                            int maxSendQueue, int windowSize,
+  public ServerStartMsg(short serverId, String baseDn, int windowSize,
                             long heartbeatInterval,
                             ServerState serverState,
                             short protocolVersion,
@@ -97,10 +91,10 @@
 
     this.serverId = serverId;
     this.baseDn = baseDn;
-    this.maxReceiveDelay = maxReceiveDelay;
-    this.maxReceiveQueue = maxReceiveQueue;
-    this.maxSendDelay = maxSendDelay;
-    this.maxSendQueue = maxSendQueue;
+    this.maxReceiveDelay = 0;
+    this.maxReceiveQueue = 0;
+    this.maxSendDelay = 0;
+    this.maxSendQueue = 0;
     this.windowSize = windowSize;
     this.heartbeatInterval = heartbeatInterval;
     this.sslEncryption = sslEncryption;

--
Gitblit v1.10.0