From 7797f89834ca018e5572093846146fb8c3f4d4d1 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Mon, 04 Apr 2016 13:38:34 +0000
Subject: [PATCH] Remove legacy config framework and test classes (org.opends.server.admin package)
---
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
index 49b2bf9..d1f39d7 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
@@ -113,7 +113,6 @@
import org.opends.quicksetup.Installation;
import org.opends.quicksetup.ui.UIFactory;
import org.opends.quicksetup.util.Utils;
-import org.opends.server.admin.ClassLoaderProvider;
import org.opends.server.core.ConfigurationHandler;
import org.opends.server.core.LockFileManager;
import org.opends.server.schema.SchemaConstants;
@@ -2827,24 +2826,4 @@
}
}
- /** Initialize the legacy configuration framework. */
- public static void initializeLegacyConfigurationFramework()
- {
- try
- {
- final ClassLoaderProvider provider = ClassLoaderProvider.getInstance();
- if (!provider.isEnabled())
- {
- provider.enable();
- }
- }
- catch (Exception e)
- {
- final LocalizableMessage message = ERROR_CTRL_PANEL_INITIALIZE_CONFIG_OFFLINE.get(e.getLocalizedMessage());
- logger.error(message);
- throw new RuntimeException(message.toString(), e);
- }
-
- }
-
}
--
Gitblit v1.10.0