From a599a26d6fe93f9d3b41ba028af54d808eb31d24 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 08 Aug 2016 07:31:25 +0000
Subject: [PATCH] Partial OPENDJ-3106 Migrate Entry

---
 opendj-server-legacy/src/main/java/org/opends/server/replication/protocol/AddMsg.java |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/replication/protocol/AddMsg.java b/opendj-server-legacy/src/main/java/org/opends/server/replication/protocol/AddMsg.java
index b0bc3df..fdbde7f6 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/replication/protocol/AddMsg.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/replication/protocol/AddMsg.java
@@ -19,7 +19,6 @@
 import static org.forgerock.opendj.ldap.schema.CoreSchema.*;
 import static org.opends.server.replication.protocol.OperationContext.*;
 
-import java.util.Collection;
 import java.util.List;
 import java.util.Map;
 import java.util.zip.DataFormatException;
@@ -121,8 +120,8 @@
                 String uniqueId,
                 String parentId,
                 Attribute objectClass,
-                Collection<Attribute> userAttributes,
-                Collection<Attribute> operationalAttributes)
+                Iterable<Attribute> userAttributes,
+                Iterable<Attribute> operationalAttributes)
   {
     super (csn, uniqueId, dn);
 
@@ -260,8 +259,8 @@
 
   private byte[] encodeAttributes(
       Attribute objectClass,
-      Collection<Attribute> userAttributes,
-      Collection<Attribute> operationalAttributes)
+      Iterable<Attribute> userAttributes,
+      Iterable<Attribute> operationalAttributes)
   {
     ByteStringBuilder byteBuilder = new ByteStringBuilder();
     ASN1Writer writer = ASN1.getWriter(byteBuilder);

--
Gitblit v1.10.0