From 172f9ff26c2a07363b37ea83bdaba4ac6ef70226 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 18 Mar 2011 21:00:33 +0000
Subject: [PATCH] Fix issue opendj-92: improve replication thread names

---
 opends/src/server/org/opends/server/replication/server/ReplicationServerConnectThread.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/server/ReplicationServerConnectThread.java b/opends/src/server/org/opends/server/replication/server/ReplicationServerConnectThread.java
index 4f8447c..cddb989 100644
--- a/opends/src/server/org/opends/server/replication/server/ReplicationServerConnectThread.java
+++ b/opends/src/server/org/opends/server/replication/server/ReplicationServerConnectThread.java
@@ -45,15 +45,13 @@
    * Creates a new instance of this directory thread with the
    * specified name.
    *
-   * @param  threadName  The human-readable name to use for this
-   *                     thread for debugging purposes.
    * @param  server      The ReplicationServer that will be called to
    *                     handle the connections.
    */
-  public ReplicationServerConnectThread(
-      String threadName, ReplicationServer server)
+  public ReplicationServerConnectThread(ReplicationServer server)
   {
-    super(threadName);
+    super("Replication server RS(" + server.getServerId()
+        + ") connector thread");
     this.server = server;
   }
 

--
Gitblit v1.10.0