From a24641d3bb529d84aaaa1b5deb4c15f4efd1d403 Mon Sep 17 00:00:00 2001
From: Chris Ridd <chris.ridd@forgerock.com>
Date: Mon, 29 Apr 2013 17:07:14 +0000
Subject: [PATCH] CR-1620 Partial fix OPENDJ-888 Maintaining ds-sync-hist for a large group is inefficient

---
 opendj-sdk/opends/src/server/org/opends/server/replication/plugin/AttrHistorical.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/AttrHistorical.java b/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/AttrHistorical.java
index 29cb91c..af74a85 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/AttrHistorical.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/AttrHistorical.java
@@ -23,11 +23,12 @@
  *
  *
  *      Copyright 2006-2010 Sun Microsystems, Inc.
+ *      Portions Copyright 2013 ForgeRock, AS.
  */
 package org.opends.server.replication.plugin;
 
-import java.util.ArrayList;
 import java.util.Iterator;
+import java.util.Map;
 
 import org.opends.server.replication.common.ChangeNumber;
 import org.opends.server.types.AttributeType;
@@ -93,8 +94,8 @@
    *
    * @return the List of ValueInfo
    */
-  public abstract ArrayList<AttrValueHistorical> getValuesHistorical();
-
+  public abstract Map<AttrValueHistorical,AttrValueHistorical>
+      getValuesHistorical();
 
   /**
    * Returns the last time when this attribute was deleted.

--
Gitblit v1.10.0