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/FractionalLDIFImportPlugin.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/replication/plugin/FractionalLDIFImportPlugin.java b/opendj3-server-dev/src/server/org/opends/server/replication/plugin/FractionalLDIFImportPlugin.java
index c784e47..84559c1 100644
--- a/opendj3-server-dev/src/server/org/opends/server/replication/plugin/FractionalLDIFImportPlugin.java
+++ b/opendj3-server-dev/src/server/org/opends/server/replication/plugin/FractionalLDIFImportPlugin.java
@@ -197,7 +197,7 @@
           sync.getReplicationDomain(domainName);
       // Is the entry a sub entry of the replicated domain main entry ?
       DN replicatedDn = replicationDomainCfg.getBaseDN();
-      DN entryDn = entry.getDN();
+      DN entryDn = entry.getName();
       if (entryDn.isDescendantOf(replicatedDn))
       {
         // Found the matching replicated domain configuration object
@@ -247,7 +247,7 @@
     ImportFractionalContext importFractionalContext =
       importSessionContexts.get(importConfig);
 
-    DN entryDn = entry.getDN();
+    DN entryDn = entry.getName();
     FractionalConfig localFractionalConfig = null;
 
     // If no context, create it
@@ -414,7 +414,7 @@
     // If we get here, local domain fractional configuration is enabled.
     // Now filter for potential attributes to be removed.
     LDAPReplicationDomain.fractionalRemoveAttributesFromEntry(
-      localFractionalConfig, entry.getDN().rdn(),
+      localFractionalConfig, entry.getName().rdn(),
       entry.getObjectClasses(), entry.getUserAttributes(), true);
 
     return PluginResult.ImportLDIF.continueEntryProcessing();

--
Gitblit v1.10.0