From 377b2709c64b32fe93905b466482216c2cc0581c Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 19 Mar 2014 16:30:32 +0000
Subject: [PATCH] OPENDJ-1368 (CR-3232) Remove AttributeValue

---
 opendj3-server-dev/src/server/org/opends/server/backends/MonitorBackend.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/backends/MonitorBackend.java b/opendj3-server-dev/src/server/org/opends/server/backends/MonitorBackend.java
index 0ca9f33..8a942f1 100644
--- a/opendj3-server-dev/src/server/org/opends/server/backends/MonitorBackend.java
+++ b/opendj3-server-dev/src/server/org/opends/server/backends/MonitorBackend.java
@@ -30,6 +30,7 @@
 
 import org.forgerock.i18n.LocalizableMessage;
 import org.forgerock.i18n.slf4j.LocalizedLogger;
+import org.forgerock.opendj.ldap.ByteString;
 import org.forgerock.opendj.ldap.ConditionResult;
 import org.forgerock.opendj.ldap.SearchScope;
 import org.forgerock.util.Reject;
@@ -1000,7 +1001,7 @@
       for (int i = 0; i < rdn.getNumValues(); i++)
       {
         final AttributeType attributeType = rdn.getAttributeType(i);
-        final AttributeValue value = rdn.getAttributeValue(attributeType);
+        final ByteString value = rdn.getAttributeValue(attributeType);
         final Attribute attr = Attributes.create(attributeType, value);
         final List<Attribute> attrList = new ArrayList<Attribute>(1);
         attrList.add(attr);
@@ -1114,7 +1115,7 @@
     // Make sure to include the RDN attribute.
     final RDN entryRDN = entryDN.rdn();
     final AttributeType rdnType = entryRDN.getAttributeType(0);
-    final AttributeValue rdnValue = entryRDN.getAttributeValue(0);
+    final ByteString rdnValue = entryRDN.getAttributeValue(0);
 
     final Attribute rdnAttr = Attributes.create(rdnType, rdnValue);
     final ArrayList<Attribute> rdnList = new ArrayList<Attribute>(1);

--
Gitblit v1.10.0