From 46fd9423ab622d7f9531aa1564846ec52fe09534 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Wed, 24 Apr 2013 12:44:51 +0000
Subject: [PATCH] Replication Cleanup.
---
opends/src/server/org/opends/server/replication/plugin/HistoricalAttributeValue.java | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/plugin/HistoricalAttributeValue.java b/opends/src/server/org/opends/server/replication/plugin/HistoricalAttributeValue.java
index 8948cf4..0b27028 100644
--- a/opends/src/server/org/opends/server/replication/plugin/HistoricalAttributeValue.java
+++ b/opends/src/server/org/opends/server/replication/plugin/HistoricalAttributeValue.java
@@ -23,6 +23,7 @@
*
*
* Copyright 2006-2010 Sun Microsystems, Inc.
+ * Portions Copyright 2013 ForgeRock AS.
*/
package org.opends.server.replication.plugin;
@@ -196,15 +197,6 @@
}
/**
- * Get the String form of the attribute.
- * @return The String form of the attribute.
- */
- public String getStringValue()
- {
- return stringValue;
- }
-
- /**
* Get the Attribute Value.
* @return The Attribute Value.
*/
@@ -261,7 +253,7 @@
*/
public boolean isADDOperation()
{
- return ((attrType == null) && (ismodDN == false));
+ return attrType == null && !ismodDN;
}
/**
@@ -273,6 +265,6 @@
*/
public boolean isMODDNOperation()
{
- return ((attrType == null) && (ismodDN == true));
+ return attrType == null && ismodDN;
}
}
--
Gitblit v1.10.0