From c3ddd7489abd06155b872cc23cef3575e2ee1b9a Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Wed, 08 Jan 2014 09:55:13 +0000
Subject: [PATCH] Align server types API with SDK types API
---
opendj3-server-dev/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java b/opendj3-server-dev/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
index 0d9e656..596b373 100644
--- a/opendj3-server-dev/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
+++ b/opendj3-server-dev/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java
@@ -2253,7 +2253,7 @@
if (entryToRename != null)
{
- DN entryDN = entryToRename.getDN();
+ DN entryDN = entryToRename.getName();
ModifyDNOperation newOp = renameEntry(
entryDN, freedDN.rdn(), freedDN.parent(), false);
@@ -2695,7 +2695,7 @@
SearchResultEntry resultEntry = result.get(0);
if (resultEntry != null)
{
- return resultEntry.getDN();
+ return resultEntry.getName();
}
}
}
@@ -3126,7 +3126,7 @@
* and keep the entry as a conflicting entry,
*/
conflict = true;
- renameConflictEntry(conflictOp, entry.getDN(),
+ renameConflictEntry(conflictOp, entry.getName(),
EntryHistorical.getEntryUUID(entry));
}
}
@@ -5285,7 +5285,7 @@
conn, InternalClientConnection.nextOperationID(),
InternalClientConnection.nextMessageID(),
new ArrayList<Control>(0),
- entry.getDN(),
+ entry.getName(),
mods);
runAsSynchronizedOperation(newOp);
--
Gitblit v1.10.0