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/LDIFSearch.java |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/tools/LDIFSearch.java b/opendj-server-legacy/src/main/java/org/opends/server/tools/LDIFSearch.java
index 4f80f6b..01af4f8 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/tools/LDIFSearch.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/tools/LDIFSearch.java
@@ -37,7 +37,6 @@
 import org.forgerock.i18n.LocalizableMessage;
 import org.forgerock.opendj.ldap.DN;
 import org.forgerock.opendj.ldap.SearchScope;
-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;
@@ -128,7 +127,6 @@
     IntegerArgument     timeLimit;
     MultiChoiceArgument<String> scopeString;
     StringArgument      baseDNString;
-    StringArgument      configClass;
     StringArgument      configFile;
     StringArgument      ldifFile;
     StringArgument      outputFile;
@@ -173,14 +171,6 @@
                       .hidden()
                       .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);
       filterFile =
               StringArgument.builder("filterFile")
                       .shortIdentifier('f')
@@ -412,7 +402,7 @@
 
         try
         {
-          directoryServer.initializeConfiguration(configClass.getValue(), configFile.getValue());
+          directoryServer.initializeConfiguration(configFile.getValue());
         }
         catch (Exception e)
         {

--
Gitblit v1.10.0