From d10da5e09878c255bd3b685fa87a04610db7d404 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 04 Apr 2016 13:38:34 +0000
Subject: [PATCH] Fix compilation errors

---
 opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ConfigReader.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ConfigReader.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ConfigReader.java
index f216eae..b0588f6 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ConfigReader.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ConfigReader.java
@@ -32,6 +32,7 @@
 import org.opends.guitools.controlpanel.datamodel.VLVSortOrder;
 import org.opends.guitools.controlpanel.task.OfflineUpdateException;
 import org.forgerock.opendj.server.config.meta.AdministrationConnectorCfgDefn;
+import org.opends.server.core.ConfigurationBackend;
 import org.opends.server.core.DirectoryServer;
 import org.opends.server.tools.tasks.TaskEntry;
 import org.forgerock.opendj.ldap.DN;
@@ -78,7 +79,7 @@
       Utilities.getInstanceRootDirectory(installRoot).getAbsolutePath();
     configFile = instanceRoot + File.separator + "config" + File.separator +
     "config.ldif";
-    configClassName = ReadOnlyConfigFileHandler.class.getName();
+    configClassName = ConfigurationBackend.class.getName();
     try
     {
       DirectoryEnvironmentConfig env = DirectoryServer.getEnvironmentConfig();
@@ -100,7 +101,7 @@
   /**
    * The exceptions that occurred reading the configuration.
    */
-  protected List<OpenDsException> exceptions = Collections.emptyList();
+  protected List<Exception> exceptions = Collections.emptyList();
 
   /**
    * Whether the configuration has already been read or not.
@@ -204,7 +205,7 @@
    * @return the list of exceptions that were encountered reading the
    * configuration.
    */
-  public List<OpenDsException> getExceptions()
+  public List<Exception> getExceptions()
   {
     return exceptions;
   }

--
Gitblit v1.10.0