From c3ddd7489abd06155b872cc23cef3575e2ee1b9a Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Wed, 08 Jan 2014 09:55:13 +0000
Subject: [PATCH] Align server types API with SDK types API
---
opendj3-server-dev/src/server/org/opends/server/protocols/ldap/SearchResultEntryProtocolOp.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/protocols/ldap/SearchResultEntryProtocolOp.java b/opendj3-server-dev/src/server/org/opends/server/protocols/ldap/SearchResultEntryProtocolOp.java
index 9e82e62..5c87526 100644
--- a/opendj3-server-dev/src/server/org/opends/server/protocols/ldap/SearchResultEntryProtocolOp.java
+++ b/opendj3-server-dev/src/server/org/opends/server/protocols/ldap/SearchResultEntryProtocolOp.java
@@ -22,6 +22,7 @@
*
*
* Copyright 2006-2009 Sun Microsystems, Inc.
+ * Portions Copyright 2014 ForgeRock AS
*/
package org.opends.server.protocols.ldap;
@@ -114,7 +115,7 @@
*/
public SearchResultEntryProtocolOp(SearchResultEntry searchEntry)
{
- this(searchEntry.getDN(), null, searchEntry, 3);
+ this(searchEntry.getName(), null, searchEntry, 3);
}
@@ -130,7 +131,7 @@
public SearchResultEntryProtocolOp(SearchResultEntry searchEntry,
int ldapVersion)
{
- this(searchEntry.getDN(), null, searchEntry, ldapVersion);
+ this(searchEntry.getName(), null, searchEntry, ldapVersion);
}
--
Gitblit v1.10.0