From 410b7d0592ba0e1dc2f3d9c745523fee430bcabe Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 10 Jun 2011 10:25:31 +0000
Subject: [PATCH] Partial fix for OPENDJ-194: Minor improvements to change log content and configuration
---
opends/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java b/opends/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java
index 00feb7c..b6e75c3 100644
--- a/opends/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/LDAPUpdateMsg.java
@@ -23,12 +23,13 @@
*
*
* Copyright 2006-2009 Sun Microsystems, Inc.
+ * Portions Copyright 2011 ForgeRock AS
*/
package org.opends.server.replication.protocol;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
-import java.util.List;
+import java.util.Collection;
import java.util.zip.DataFormatException;
import org.opends.server.protocols.asn1.ASN1;
@@ -424,7 +425,7 @@
/**
* Encode a list of attributes.
*/
- static private byte[] encodeAttributes(List<Attribute> attributes)
+ static private byte[] encodeAttributes(Collection<Attribute> attributes)
{
if (attributes==null)
return new byte[0];
@@ -606,7 +607,7 @@
* Set a provided list of entry attributes.
* @param entryAttrs The provided list of entry attributes.
*/
- public void setEclIncludes(List<Attribute> entryAttrs)
+ public void setEclIncludes(Collection<Attribute> entryAttrs)
{
this.encodedEclIncludes = encodeAttributes(entryAttrs);
}
--
Gitblit v1.10.0