From 4c7b80df408088a959bca12fe168ef4ffc039cdb Mon Sep 17 00:00:00 2001
From: Chris Ridd <chris.ridd@forgerock.com>
Date: Wed, 01 May 2013 17:23:20 +0000
Subject: [PATCH] CR-1632 Fix OPENDJ-888 Maintaining ds-sync-hist for a large group is inefficient
---
opends/src/server/org/opends/server/replication/plugin/AttrHistorical.java | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/plugin/AttrHistorical.java b/opends/src/server/org/opends/server/replication/plugin/AttrHistorical.java
index 29cb91c..9a12261 100644
--- a/opends/src/server/org/opends/server/replication/plugin/AttrHistorical.java
+++ b/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;
@@ -46,7 +47,7 @@
* It should use whatever historical information is stored in this class
* to solve the conflict and modify the mod and the mods iterator accordingly
*
- * @param modsIterator The iterator on the mods from which the mod is\
+ * @param modsIterator The iterator on the mods from which the mod is
* extracted.
* @param changeNumber The changeNumber associated to the operation.
* @param modifiedEntry The entry modified by this operation.
@@ -93,7 +94,8 @@
*
* @return the List of ValueInfo
*/
- public abstract ArrayList<AttrValueHistorical> getValuesHistorical();
+ public abstract Map<AttrValueHistorical,AttrValueHistorical>
+ getValuesHistorical();
/**
--
Gitblit v1.10.0