From 274227c07205d3dbd7125ed75ed6d2acdd3c9ce0 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Fri, 10 Jan 2014 10:02:47 +0000
Subject: [PATCH] 

---
 opendj3-server-dev/src/server/org/opends/server/protocols/ldap/LDAPControl.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/protocols/ldap/LDAPControl.java b/opendj3-server-dev/src/server/org/opends/server/protocols/ldap/LDAPControl.java
index 346b8d0..b12109f 100644
--- a/opendj3-server-dev/src/server/org/opends/server/protocols/ldap/LDAPControl.java
+++ b/opendj3-server-dev/src/server/org/opends/server/protocols/ldap/LDAPControl.java
@@ -22,6 +22,7 @@
  *
  *
  *      Copyright 2006-2008 Sun Microsystems, Inc.
+ *      Portions Copyright 2014 ForgeRock AS
  */
 package org.opends.server.protocols.ldap;
 
@@ -30,7 +31,7 @@
 
 import org.opends.server.protocols.asn1.*;
 import org.opends.server.types.Control;
-import org.opends.server.types.ByteString;
+import org.forgerock.opendj.ldap.ByteString;
 
 import static org.opends.server.util.ServerConstants.*;
 
@@ -142,7 +143,7 @@
     if (value != null)
     {
       buffer.append(", value=");
-      value.toHexPlusAscii(buffer, 4);
+      buffer.append(value.toHexPlusAsciiString(4));
     }
 
     buffer.append(")");
@@ -183,7 +184,7 @@
     {
       buffer.append(indentBuf);
       buffer.append("  Value:");
-      value.toHexPlusAscii(buffer, indent+4);
+      buffer.append(value.toHexPlusAsciiString(indent+4));
     }
   }
 }

--
Gitblit v1.10.0