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/replication/plugin/PersistentServerState.java |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/replication/plugin/PersistentServerState.java b/opendj3-server-dev/src/server/org/opends/server/replication/plugin/PersistentServerState.java
index 0bfa2b6..5dcd99e 100644
--- a/opendj3-server-dev/src/server/org/opends/server/replication/plugin/PersistentServerState.java
+++ b/opendj3-server-dev/src/server/org/opends/server/replication/plugin/PersistentServerState.java
@@ -276,7 +276,7 @@
     if (attrs != null)
     {
       Attribute attr = attrs.get(0);
-      for (AttributeValue value : attr)
+      for (ByteString value : attr)
       {
         update(new CSN(value.toString()));
       }
@@ -413,8 +413,7 @@
         dbMaxCsn = serverStateMaxCsn;
         for (SearchResultEntry resEntry : op.getSearchEntries())
         {
-          for (AttributeValue attrValue :
-                    resEntry.getAttribute(histType).get(0))
+          for (ByteString attrValue : resEntry.getAttribute(histType).get(0))
           {
             HistoricalAttributeValue histVal =
                 new HistoricalAttributeValue(attrValue.toString());

--
Gitblit v1.10.0