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/authorization/dseecompat/AciHandler.java | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java
index 21eac1b..1c5902f 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java
@@ -710,7 +710,7 @@
for (Modification m : modifications)
{
Attribute modAttr = m.getAttribute();
- AttributeType modAttrType = modAttr.getAttributeType();
+ AttributeType modAttrType = modAttr.getAttributeDescription().getAttributeType();
if (modAttrType.equals(aciType)
/*
@@ -988,8 +988,7 @@
final Attribute attr = e.getObjectClassAttribute();
if (attr != null)
{
- AttributeType ocType = attr.getAttributeType();
- typeList.add(ocType);
+ typeList.add(attr.getAttributeDescription().getAttributeType());
}
typeList.addAll(e.getUserAttributes().keySet());
typeList.addAll(e.getOperationalAttributes().keySet());
--
Gitblit v1.10.0