From b6baf9b93cd501ac43200589d37feefd1e5291c2 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Thu, 04 Apr 2013 10:16:16 +0000
Subject: [PATCH] Another set of code cleanup, fixing typos.

---
 opends/src/server/org/opends/server/replication/server/StatusAnalyzer.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/server/StatusAnalyzer.java b/opends/src/server/org/opends/server/replication/server/StatusAnalyzer.java
index eed55f2..12ba75d 100644
--- a/opends/src/server/org/opends/server/replication/server/StatusAnalyzer.java
+++ b/opends/src/server/org/opends/server/replication/server/StatusAnalyzer.java
@@ -23,7 +23,7 @@
  *
  *
  *      Copyright 2008-2009 Sun Microsystems, Inc.
- *      Portions Copyright 2011-2012 ForgeRock AS
+ *      Portions Copyright 2011-2013 ForgeRock AS
  */
 package org.opends.server.replication.server;
 
@@ -133,7 +133,7 @@
         if (debugEnabled())
         {
           TRACER.debugInfo("Status analyzer for dn " +
-            replicationServerDomain.getBaseDn().toString() + " DS " +
+              replicationServerDomain.getBaseDn() + " DS " +
             Integer.toString(serverHandler.getServerId()) + " has " + nChanges +
             " message(s) in writer queue. This is in RS " +
             replicationServerDomain.getReplicationServer().getServerId());
@@ -162,7 +162,7 @@
               {
                 // Finish job and let thread die
                 TRACER.debugInfo("Status analyzer for dn " +
-                  replicationServerDomain.getBaseDn().toString() +
+                    replicationServerDomain.getBaseDn() +
                   " has been interrupted and will die. This is in RS " +
                   replicationServerDomain.getReplicationServer().getServerId());
                 break;
@@ -180,7 +180,7 @@
               {
                 // Finish job and let thread die
                 TRACER.debugInfo("Status analyzer for dn " +
-                  replicationServerDomain.getBaseDn().toString() +
+                    replicationServerDomain.getBaseDn() +
                   " has been interrupted and will die. This is in RS " +
                   replicationServerDomain.getReplicationServer().getServerId());
                 break;
@@ -193,7 +193,7 @@
 
     done = true;
     TRACER.debugInfo("Status analyzer for dn " +
-      replicationServerDomain.getBaseDn().toString() + " is terminated." +
+        replicationServerDomain.getBaseDn() + " is terminated." +
       " This is in RS " +
       replicationServerDomain.getReplicationServer().getServerId());
   }
@@ -227,7 +227,7 @@
     {
       int FACTOR = 40; // Wait for 2 seconds before interrupting the thread
       int n = 0;
-      while ((done == false) && (this.isAlive()))
+      while (!done && this.isAlive())
       {
         Thread.sleep(50);
         n++;
@@ -249,7 +249,7 @@
    * Sets the threshold value.
    * @param degradedStatusThreshold The new threshold value.
    */
-  public void setDeradedStatusThreshold(int degradedStatusThreshold)
+  public void setDegradedStatusThreshold(int degradedStatusThreshold)
   {
     if (debugEnabled())
     {

--
Gitblit v1.10.0