mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
30.49.2007 8af4770c261b54c3f12bb4e8fe14b6f6b567514b
opends/src/server/org/opends/server/tools/dsconfig/SubCommandHandler.java
@@ -531,11 +531,6 @@
  public static final int MULTI_COLUMN_THRESHOLD = 8;
  /**
   * The value for the long option advanced.
   */
  private static final String OPTION_DSCFG_LONG_ADVANCED = "advanced";
  /**
   * The value for the long option property.
   */
  private static final String OPTION_DSCFG_LONG_PROPERTY = "property";
@@ -556,11 +551,6 @@
  private static final String OPTION_DSCFG_LONG_UNIT_TIME = "unit-time";
  /**
   * The value for the short option advanced.
   */
  private static final Character OPTION_DSCFG_SHORT_ADVANCED = null;
  /**
   * The value for the short option property.
   */
  private static final Character OPTION_DSCFG_SHORT_PROPERTY = null;
@@ -580,9 +570,6 @@
   */
  private static final char OPTION_DSCFG_SHORT_UNIT_TIME = 'M';
  // The argument which should be used to request advanced mode.
  private BooleanArgument advancedModeArgument;
  // The argument which should be used to specify zero or more
  // property names.
  private StringArgument propertyArgument;
@@ -935,22 +922,6 @@
  /**
   * Determines whether the user requested advanced mode.
   *
   * @return Returns <code>true</code> if the user requested
   *         advanced mode.
   */
  protected final boolean isAdvancedMode() {
    if (advancedModeArgument != null) {
      return advancedModeArgument.isPresent();
    } else {
      return false;
    }
  }
  /**
   * Determines whether the user requested record-mode.
   *
   * @return Returns <code>true</code> if the user requested
@@ -1062,28 +1033,6 @@
  /**
   * Registers the advanced mode argument with the sub-command.
   *
   * @param subCommand
   *          The sub-command.
   * @param description
   *          The usage description message to be used for the
   *          argument.
   * @throws ArgumentException
   *           If the advanced mode argument could not be registered.
   */
  protected final void registerAdvancedModeArgument(SubCommand subCommand,
                                                    Message description)
          throws ArgumentException
  {
    this.advancedModeArgument = new BooleanArgument(OPTION_DSCFG_LONG_ADVANCED,
        OPTION_DSCFG_SHORT_ADVANCED, OPTION_DSCFG_LONG_ADVANCED, description);
    subCommand.addArgument(advancedModeArgument);
  }
  /**
   * Registers the property name argument with the sub-command.
   *
   * @param subCommand