From c01c421b26e6409febd6af1db1c9db11b7b347a4 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Tue, 07 Jan 2014 15:06:31 +0000
Subject: [PATCH] Align server types API with SDK types API
---
opendj3-server-dev/src/server/org/opends/server/schema/DistinguishedNameSyntax.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/schema/DistinguishedNameSyntax.java b/opendj3-server-dev/src/server/org/opends/server/schema/DistinguishedNameSyntax.java
index 12f8b16..7a03cf3 100644
--- a/opendj3-server-dev/src/server/org/opends/server/schema/DistinguishedNameSyntax.java
+++ b/opendj3-server-dev/src/server/org/opends/server/schema/DistinguishedNameSyntax.java
@@ -22,7 +22,7 @@
*
*
* Copyright 2006-2008 Sun Microsystems, Inc.
- * Portions Copyright 2012 ForgeRock AS
+ * Portions Copyright 2012-2014 ForgeRock AS
*/
package org.opends.server.schema;
@@ -81,7 +81,7 @@
*/
public DN decode(AttributeValue value) throws DirectoryException
{
- return DN.decode(value.getValue().toString());
+ return DN.valueOf(value.getValue().toString());
}
};
@@ -241,7 +241,7 @@
// Use the DN code to make this determination.
try
{
- DN.decode(value.toString());
+ DN.valueOf(value.toString());
return true;
}
--
Gitblit v1.10.0