From 49f8f06c0fed42adbe430e664c1c47c7e500fde3 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 11 Oct 2013 09:58:45 +0000
Subject: [PATCH] OPENDJ-1134 (CR-2355) Introduce a class in replication for encapsulating host+port combinations

---
 opends/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java b/opends/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java
index d92b6d6..b27f8b8 100644
--- a/opends/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java
@@ -237,7 +237,7 @@
   public byte[] encodeHeader(byte type, int additionalLength, short version)
     throws UnsupportedEncodingException
   {
-    byte[] byteDn = dn.toNormalizedString().getBytes("UTF-8");
+    byte[] byteDn = dn.toString().getBytes("UTF-8");
     byte[] csnByte = getCSN().toString().getBytes("UTF-8");
     byte[] byteEntryuuid = getEntryUUID().getBytes("UTF-8");
 
@@ -297,7 +297,7 @@
   public byte[] encodeHeader_V1(byte type, int additionalLength)
     throws UnsupportedEncodingException
   {
-    byte[] byteDn = dn.toNormalizedString().getBytes("UTF-8");
+    byte[] byteDn = dn.toString().getBytes("UTF-8");
     byte[] csnByte = getCSN().toString().getBytes("UTF-8");
     byte[] byteEntryuuid = getEntryUUID().getBytes("UTF-8");
 

--
Gitblit v1.10.0