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/tools/LDIFModify.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/tools/LDIFModify.java b/opendj3-server-dev/src/server/org/opends/server/tools/LDIFModify.java
index bae7455..81af056 100644
--- a/opendj3-server-dev/src/server/org/opends/server/tools/LDIFModify.java
+++ b/opendj3-server-dev/src/server/org/opends/server/tools/LDIFModify.java
@@ -22,7 +22,7 @@
*
*
* Copyright 2006-2008 Sun Microsystems, Inc.
- * Portions Copyright 2012-2013 ForgeRock AS
+ * Portions Copyright 2012-2014 ForgeRock AS
*/
package org.opends.server.tools;
@@ -274,7 +274,7 @@
// If the entry is to be deleted, then just skip over it without writing
// it to the output.
- DN entryDN = entry.getDN();
+ DN entryDN = entry.getName();
if (deletes.remove(entryDN) != null)
{
continue;
@@ -310,7 +310,7 @@
// If we've gotten here, then the (possibly updated) entry should be
// written to the LDIF entry Map.
- ldifEntries.put(entry.getDN(),entry);
+ ldifEntries.put(entry.getName(),entry);
}
@@ -362,7 +362,7 @@
Entry e = new Entry(add.getDN(), objectClasses, userAttributes,
operationalAttributes);
//Put the entry to be added into the LDIF entry map.
- ldifEntries.put(e.getDN(),e);
+ ldifEntries.put(e.getName(),e);
}
--
Gitblit v1.10.0