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

diff --git a/opendj3-server-dev/src/server/org/opends/server/replication/plugin/AttrValueHistorical.java b/opendj3-server-dev/src/server/org/opends/server/replication/plugin/AttrValueHistorical.java
index 3f9ce8b..f8a65d3 100644
--- a/opendj3-server-dev/src/server/org/opends/server/replication/plugin/AttrValueHistorical.java
+++ b/opendj3-server-dev/src/server/org/opends/server/replication/plugin/AttrValueHistorical.java
@@ -22,32 +22,30 @@
  *
  *
  *      Copyright 2006-2010 Sun Microsystems, Inc.
- *      Portions Copyright 2013 ForgeRock AS.
+ *      Portions Copyright 2013-2014 ForgeRock AS.
  */
 package org.opends.server.replication.plugin;
 
 import org.opends.server.replication.common.CSN;
-import org.opends.server.types.AttributeValue;
+import org.forgerock.opendj.ldap.ByteString;
 
 /**
  * Store historical information for an attribute value.
  */
 public class AttrValueHistorical
 {
-  private AttributeValue value;
+  private ByteString value;
   private CSN valueDeleteTime;
   private CSN valueUpdateTime;
 
   /**
-   * Build an AttrValueHistorical for a provided AttributeValue, providing
+   * Build an AttrValueHistorical for a provided attribute value, providing
    * the last time the provided value is either updated or deleted.
    * @param value    the provided attributeValue
    * @param csnUpdate last time when this value was updated
    * @param csnDelete last time when this value for deleted
    */
-  public AttrValueHistorical(AttributeValue value,
-                   CSN csnUpdate,
-                   CSN csnDelete)
+  public AttrValueHistorical(ByteString value, CSN csnUpdate, CSN csnDelete)
   {
     this.value = value;
     this.valueUpdateTime = csnUpdate;
@@ -104,7 +102,7 @@
    * Get the attributeValue for which this object was generated.
    * @return the value for which this object was generated
    */
-  public AttributeValue getAttributeValue()
+  public ByteString getAttributeValue()
   {
     return value;
   }

--
Gitblit v1.10.0