From afe88363f70903f207a25edab27e7adcb9fc66e0 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Fri, 09 Sep 2016 09:45:24 +0000
Subject: [PATCH] OPENDJ-3089 Fix calls to server Schema methods that are not available in SDK Schema
---
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
index 21151d7..9a8ca1d 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
@@ -2030,7 +2030,7 @@
// Check all the attributes that we consider binaries.
if (schema != null)
{
- AttributeType attrType = AttributeDescription.valueOf(attrName, schema.getSchemaNG()).getAttributeType();
+ AttributeType attrType = AttributeDescription.valueOf(attrName, schema).getAttributeType();
if (!attrType.isPlaceHolder())
{
String syntaxOID = attrType.getSyntax().getOID();
@@ -2064,7 +2064,7 @@
{
if (schema != null)
{
- AttributeType attrType = AttributeDescription.valueOf(attrName, schema.getSchemaNG()).getAttributeType();
+ AttributeType attrType = AttributeDescription.valueOf(attrName, schema).getAttributeType();
if (!attrType.isPlaceHolder())
{
PasswordType passwordType = SchemaUtils.checkPasswordType(attrType);
@@ -2078,7 +2078,7 @@
{
if (schema != null)
{
- AttributeType attrType = AttributeDescription.valueOf(attrName, schema.getSchemaNG()).getAttributeType();
+ AttributeType attrType = AttributeDescription.valueOf(attrName, schema).getAttributeType();
if (!attrType.isPlaceHolder())
{
return oids.contains(attrType.getSyntax().getOID());
--
Gitblit v1.10.0