From 44aad3f84d2a820094f3b5e73722778edc8c23f5 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 24 Apr 2007 22:40:57 +0000
Subject: [PATCH] Make several significant changes to the OpenDS code base, including:
---
opends/tests/unit-tests-testng/src/server/org/opends/server/TestAccessLogger.java | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestAccessLogger.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestAccessLogger.java
index 8777497..b0747ce 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestAccessLogger.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestAccessLogger.java
@@ -44,12 +44,10 @@
import org.opends.server.core.ExtendedOperation;
import org.opends.server.core.ModifyOperation;
import org.opends.server.core.ModifyDNOperation;
-import org.opends.server.core.Operation;
import org.opends.server.core.SearchOperation;
import org.opends.server.core.UnbindOperation;
import org.opends.server.config.ConfigEntry;
import org.opends.server.protocols.asn1.ASN1OctetString;
-import org.opends.server.protocols.ldap.LDAPAttribute;
import org.opends.server.protocols.ldap.LDAPModification;
import org.opends.server.types.Attribute;
import org.opends.server.types.AttributeValue;
@@ -57,6 +55,9 @@
import org.opends.server.types.ByteString;
import org.opends.server.types.DisconnectReason;
import org.opends.server.types.DN;
+import org.opends.server.types.Operation;
+import org.opends.server.types.RawAttribute;
+import org.opends.server.types.RawModification;
import org.opends.server.types.SearchResultEntry;
import org.opends.server.types.SearchResultReference;
import org.opends.server.util.TimeThread;
@@ -263,11 +264,11 @@
buffer.append(addOperation.getRawEntryDN());
buffer.append("\" attributes={");
- Iterator<LDAPAttribute> attrIterator =
+ Iterator<RawAttribute> attrIterator =
addOperation.getRawAttributes().iterator();
if (attrIterator.hasNext())
{
- LDAPAttribute attr = attrIterator.next();
+ RawAttribute attr = attrIterator.next();
buffer.append(attr.getAttributeType());
buffer.append("={\"");
@@ -537,11 +538,11 @@
buffer.append(modifyOperation.getRawEntryDN().stringValue());
buffer.append("\" mods={");
- Iterator<LDAPModification> modIterator =
+ Iterator<RawModification> modIterator =
modifyOperation.getRawModifications().iterator();
if (modIterator.hasNext())
{
- LDAPModification mod = modIterator.next();
+ RawModification mod = modIterator.next();
buffer.append(mod.getModificationType().toString());
buffer.append(" attribute=");
buffer.append(mod.getAttribute().getAttributeType());
--
Gitblit v1.10.0