From cad7abf78a831586b43f185d4abd5f30265a3058 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 04 Apr 2016 13:38:35 +0000
Subject: [PATCH] Remove the "configClass" tools argument
---
opendj-server-legacy/src/main/java/org/opends/server/tools/LDIFModify.java | 13 +------------
1 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/tools/LDIFModify.java b/opendj-server-legacy/src/main/java/org/opends/server/tools/LDIFModify.java
index f375027..94e7017 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/tools/LDIFModify.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/tools/LDIFModify.java
@@ -36,7 +36,6 @@
import org.forgerock.i18n.LocalizableMessage;
import org.forgerock.opendj.ldap.ByteString;
-import org.opends.server.core.ConfigurationHandler;
import org.opends.server.core.DirectoryServer;
import org.opends.server.core.DirectoryServer.DirectoryServerVersionHandler;
import org.opends.server.loggers.JDKLogging;
@@ -411,7 +410,6 @@
// Prepare the argument parser.
BooleanArgument showUsage;
StringArgument changesFile;
- StringArgument configClass;
StringArgument configFile;
StringArgument sourceFile;
StringArgument targetFile;
@@ -432,14 +430,6 @@
.required()
.valuePlaceholder(INFO_CONFIGFILE_PLACEHOLDER.get())
.buildAndAddToParser(argParser);
- configClass =
- StringArgument.builder(OPTION_LONG_CONFIG_CLASS)
- .shortIdentifier(OPTION_SHORT_CONFIG_CLASS)
- .description(INFO_DESCRIPTION_CONFIG_CLASS.get())
- .hidden()
- .defaultValue(ConfigurationHandler.class.getName())
- .valuePlaceholder(INFO_CONFIGCLASS_PLACEHOLDER.get())
- .buildAndAddToParser(argParser);
sourceFile =
StringArgument.builder("sourceLDIF")
.shortIdentifier('s')
@@ -527,8 +517,7 @@
try
{
- directoryServer.initializeConfiguration(configClass.getValue(),
- configFile.getValue());
+ directoryServer.initializeConfiguration(configFile.getValue());
}
catch (Exception e)
{
--
Gitblit v1.10.0