From 744da8ea9d6c0b9acdc19a51f2107fc64e8bfdfe Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 26 Apr 2016 07:54:21 +0000
Subject: [PATCH] Code cleanup in DirectoryServer

---
 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 d5475a8..adea116 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
@@ -444,7 +444,7 @@
 
     // Add the "supportedExtension" attribute.
     Attribute supportedExtensionAttr = createAttribute(
-        ATTR_SUPPORTED_EXTENSION, DirectoryServer.getSupportedExtensions().keySet());
+        ATTR_SUPPORTED_EXTENSION, DirectoryServer.getSupportedExtensions());
     addAttribute(supportedExtensionAttr, dseUserAttrs, dseOperationalAttrs);
 
     // Add the "supportedFeature" attribute.
@@ -454,7 +454,7 @@
 
     // Add the "supportedSASLMechanisms" attribute.
     Attribute supportedSASLMechAttr = createAttribute(
-        ATTR_SUPPORTED_SASL_MECHANISMS, DirectoryServer.getSupportedSASLMechanisms().keySet());
+        ATTR_SUPPORTED_SASL_MECHANISMS, DirectoryServer.getSupportedSASLMechanisms());
     addAttribute(supportedSASLMechAttr, dseUserAttrs, dseOperationalAttrs);
 
     // Add the "supportedLDAPVersions" attribute.
@@ -744,7 +744,7 @@
     {
       return subordinateBaseDNs;
     }
-    return (Map) DirectoryServer.getPublicNamingContexts();
+    return DirectoryServer.getPublicNamingContexts();
   }
 
   @Override

--
Gitblit v1.10.0