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/replication/protocol/LDAPUpdateMsg.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java b/opendj3-server-dev/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java
index 2efa4b1..8018215 100644
--- a/opendj3-server-dev/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java
+++ b/opendj3-server-dev/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java
@@ -22,7 +22,7 @@
*
*
* Copyright 2006-2009 Sun Microsystems, Inc.
- * Portions Copyright 2011-2013 ForgeRock AS
+ * Portions Copyright 2011-2014 ForgeRock AS
*/
package org.opends.server.replication.protocol;
@@ -473,7 +473,7 @@
// Read the dn
length = getNextLength(encodedMsg, pos);
- dn = DN.decode(new String(encodedMsg, pos, length, "UTF-8"));
+ dn = DN.valueOf(new String(encodedMsg, pos, length, "UTF-8"));
pos += length + 1;
// Read the entryuuid
@@ -544,7 +544,7 @@
// read the dn
length = getNextLength(encodedMsg, pos);
- dn = DN.decode(new String(encodedMsg, pos, length, "UTF-8"));
+ dn = DN.valueOf(new String(encodedMsg, pos, length, "UTF-8"));
pos += length + 1;
// read the entryuuid
--
Gitblit v1.10.0