From 04751fedb241ac1f383bab06ba60fbc9e58a7082 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 05 Aug 2016 10:14:44 +0000
Subject: [PATCH] AddOperationBasis: Change constructor to accept an Entry rather than its fields
---
opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxPrivilegeTestCase.java | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxPrivilegeTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxPrivilegeTestCase.java
index 0853fc8..ec55768 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxPrivilegeTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxPrivilegeTestCase.java
@@ -524,9 +524,7 @@
// Try to add the entry. If this fails with the proxy control, then add it
// with a root connection so we can do other things with it.
- AddOperationBasis addOp = new AddOperationBasis(
- conn, conn.nextOperationID(), conn.nextMessageID(), controls,
- e.getName(), e.getObjectClasses(), e.getUserAttributes(), e.getOperationalAttributes());
+ AddOperationBasis addOp = new AddOperationBasis(conn, conn.nextOperationID(), conn.nextMessageID(), controls, e);
assertSuccess(hasProxyPrivilege, addOp);
if (!hasProxyPrivilege)
{
@@ -636,9 +634,7 @@
// Try to add the entry. If this fails with the proxy control, then add it
// with a root connection so we can do other things with it.
DN authDN = conn.getAuthenticationInfo().getAuthenticationDN();
- AddOperationBasis addOp = new AddOperationBasis(
- conn, conn.nextOperationID(), conn.nextMessageID(), controls,
- e.getName(), e.getObjectClasses(), e.getUserAttributes(), e.getOperationalAttributes());
+ AddOperationBasis addOp = new AddOperationBasis(conn, conn.nextOperationID(), conn.nextMessageID(), controls, e);
assertSuccess(hasProxyPrivilege, authDN, addOp);
if (!hasProxyPrivilege)
{
--
Gitblit v1.10.0