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/ServerStartMsg.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/replication/protocol/ServerStartMsg.java b/opendj3-server-dev/src/server/org/opends/server/replication/protocol/ServerStartMsg.java
index 65a319f..6ce2b9d 100644
--- a/opendj3-server-dev/src/server/org/opends/server/replication/protocol/ServerStartMsg.java
+++ b/opendj3-server-dev/src/server/org/opends/server/replication/protocol/ServerStartMsg.java
@@ -22,7 +22,7 @@
*
*
* Copyright 2006-2009 Sun Microsystems, Inc.
- * Portions Copyright 2013 ForgeRock AS.
+ * Portions Copyright 2013-2014 ForgeRock AS.
*/
package org.opends.server.replication.protocol;
@@ -124,7 +124,7 @@
* first calculate the length then construct the string
*/
int length = getNextLength(in, pos);
- baseDN = DN.decode(new String(in, pos, length, "UTF-8"));
+ baseDN = DN.valueOf(new String(in, pos, length, "UTF-8"));
pos += length +1;
/*
--
Gitblit v1.10.0