From 30370aa1fc4d363f07023059f330e9a1ec9f2313 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 04 Feb 2016 16:43:42 +0000
Subject: [PATCH] Removed Attribute.getAttributeType()

---
 opendj-server-legacy/src/main/java/org/opends/server/backends/RootDSEBackend.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/RootDSEBackend.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/RootDSEBackend.java
index 23ed22d..ae31832 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/RootDSEBackend.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/RootDSEBackend.java
@@ -292,7 +292,7 @@
    */
   private boolean isDSEConfigAttribute(Attribute attribute)
   {
-    AttributeType attrType = attribute.getAttributeType();
+    AttributeType attrType = attribute.getAttributeDescription().getAttributeType();
     return attrType.hasName(ATTR_ROOT_DSE_SUBORDINATE_BASE_DN.toLowerCase())
         || attrType.hasName(ATTR_ROOTDSE_SHOW_ALL_ATTRIBUTES.toLowerCase())
         || attrType.hasName(ATTR_COMMON_NAME);
@@ -537,7 +537,7 @@
   {
     for (Attribute a : attributes)
     {
-      AttributeType type = a.getAttributeType();
+      AttributeType type = a.getAttributeDescription().getAttributeType();
 
       final Map<AttributeType, List<Attribute>> attrsMap = type.isOperational() && !showAllAttributes
           ? operationalAttrs
@@ -559,7 +559,7 @@
     if (!attribute.isEmpty())
     {
       List<Attribute> attrs = newArrayList(attribute);
-      final AttributeType attrType = attribute.getAttributeType();
+      final AttributeType attrType = attribute.getAttributeDescription().getAttributeType();
       if (showAllAttributes || !attrType.isOperational())
       {
         userAttrs.put(attrType, attrs);

--
Gitblit v1.10.0