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

diff --git a/opendj3-server-dev/src/server/org/opends/server/replication/protocol/ReplServerStartMsg.java b/opendj3-server-dev/src/server/org/opends/server/replication/protocol/ReplServerStartMsg.java
index 5938813..637f924 100644
--- a/opendj3-server-dev/src/server/org/opends/server/replication/protocol/ReplServerStartMsg.java
+++ b/opendj3-server-dev/src/server/org/opends/server/replication/protocol/ReplServerStartMsg.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;
 
@@ -136,7 +136,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;
 
       /*
@@ -217,7 +217,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