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/plugin/LDAPReplicationDomain.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java b/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
index 3df579b..5f2edbe 100644
--- a/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
+++ b/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
@@ -287,7 +287,7 @@
/**
* The attribute name used to store the generation id in the backend.
*/
- protected static final String REPLICATION_GENERATION_ID =
+ private static final String REPLICATION_GENERATION_ID =
"ds-sync-generation-id";
/**
* The attribute name used to store the fractional include configuration in
@@ -4164,7 +4164,7 @@
if (!backend.supportsLDIFImport())
{
Message message = ERR_INIT_IMPORT_NOT_SUPPORTED.get(
- backend.getBackendID().toString());
+ backend.getBackendID());
if (ieContext.getException() == null)
ieContext.setException(new DirectoryException(ResultCode.OTHER,
message));
@@ -4922,7 +4922,7 @@
if (!backend.supportsLDIFExport())
{
Message message = ERR_INIT_EXPORT_NOT_SUPPORTED.get(
- backend.getBackendID().toString());
+ backend.getBackendID());
logError(message);
throw new DirectoryException(ResultCode.OTHER, message);
}
--
Gitblit v1.10.0