From 15a0d1142e68d860e17f0b3dd130d5c44d4dd9f2 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Sat, 22 Sep 2012 12:21:06 +0000
Subject: [PATCH] Code cleanup after running Findbugs. Remove useless initializations, useless toString() on strings, and other redundant if tests...
---
opends/src/server/org/opends/server/replication/server/StatusAnalyzer.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 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 e2e5b28..eed55f2 100644
--- a/opends/src/server/org/opends/server/replication/server/StatusAnalyzer.java
+++ b/opends/src/server/org/opends/server/replication/server/StatusAnalyzer.java
@@ -95,7 +95,7 @@
if (debugEnabled())
{
TRACER.debugInfo("Directory server status analyzer starting for dn " +
- replicationServerDomain.getBaseDn().toString());
+ replicationServerDomain.getBaseDn());
}
boolean interrupted = false;
@@ -211,7 +211,7 @@
if (debugEnabled())
{
TRACER.debugInfo("Shutting down status analyzer for dn "
- + replicationServerDomain.getBaseDn().toString() + " in RS "
+ + replicationServerDomain.getBaseDn() + " in RS "
+ replicationServerDomain.getReplicationServer().getServerId());
}
}
@@ -234,7 +234,7 @@
if (n >= FACTOR)
{
TRACER.debugInfo("Interrupting status analyzer for dn " +
- replicationServerDomain.getBaseDn().toString() + " in RS " +
+ replicationServerDomain.getBaseDn() + " in RS " +
replicationServerDomain.getReplicationServer().getServerId());
this.interrupt();
}
@@ -254,8 +254,8 @@
if (debugEnabled())
{
TRACER.debugInfo("Directory server status analyzer for dn " +
- replicationServerDomain.getBaseDn().toString() + " changing threshold" +
- " value to " + degradedStatusThreshold);
+ replicationServerDomain.getBaseDn() + " changing threshold value to " +
+ degradedStatusThreshold);
}
this.degradedStatusThreshold = degradedStatusThreshold;
--
Gitblit v1.10.0