From c01c421b26e6409febd6af1db1c9db11b7b347a4 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Tue, 07 Jan 2014 15:06:31 +0000
Subject: [PATCH] Align server types API with SDK types API
---
opendj3-server-dev/src/server/org/opends/server/plugins/ReferentialIntegrityPlugin.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/plugins/ReferentialIntegrityPlugin.java b/opendj3-server-dev/src/server/org/opends/server/plugins/ReferentialIntegrityPlugin.java
index a1860b0..659e675 100644
--- a/opendj3-server-dev/src/server/org/opends/server/plugins/ReferentialIntegrityPlugin.java
+++ b/opendj3-server-dev/src/server/org/opends/server/plugins/ReferentialIntegrityPlugin.java
@@ -22,7 +22,7 @@
*
*
* Copyright 2008-2010 Sun Microsystems, Inc.
- * Portions copyright 2011-2012 ForgeRock AS.
+ * Portions Copyright 2011-2014 ForgeRock AS.
* Portions copyright 2011 profiq s.r.o.
*/
package org.opends.server.plugins;
@@ -964,12 +964,12 @@
while((line=reader.readLine()) != null) {
try {
String[] a=line.split("[\t]");
- DN origDn = DN.decode(a[0]);
+ DN origDn = DN.valueOf(a[0]);
//If there is only a single DN string than it must be a delete.
if(a.length == 1) {
processDelete(Collections.singleton(origDn), false);
} else {
- DN movedDN=DN.decode(a[1]);
+ DN movedDN=DN.valueOf(a[1]);
processModifyDN(origDn, movedDN);
}
} catch (DirectoryException ex) {
--
Gitblit v1.10.0