From d3f7287f96515499730a23f82871b706b234cf96 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 29 Jan 2016 15:01:22 +0000
Subject: [PATCH] DirectoryServer.java: Removed getAttributeTypeOrDefault(String lowerName, String upperName), replaced by getAttributeTypeOrDefault(String lowerName)
---
opendj-server-legacy/src/main/java/org/opends/server/config/ConfigEntry.java | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/config/ConfigEntry.java b/opendj-server-legacy/src/main/java/org/opends/server/config/ConfigEntry.java
index 7fbaa9b..f4865a5 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/config/ConfigEntry.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/config/ConfigEntry.java
@@ -195,8 +195,7 @@
*/
public ConfigAttribute getConfigAttribute(ConfigAttribute stub) throws ConfigException
{
- String attrName = stub.getName();
- AttributeType attrType = DirectoryServer.getAttributeTypeOrDefault(attrName.toLowerCase(), attrName);
+ AttributeType attrType = DirectoryServer.getAttributeTypeOrDefault(stub.getName());
List<Attribute> attrList = entry.getAttribute(attrType);
return !attrList.isEmpty() ? stub.getConfigAttribute(attrList) : null;
}
--
Gitblit v1.10.0