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

Nicolas Capponi
24.43.2014 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf
opendj3-server-dev/src/server/org/opends/server/util/args/BooleanArgument.java
@@ -22,14 +22,15 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2014 ForgeRock AS
 */
package org.opends.server.util.args;
import org.opends.messages.Message;
import org.forgerock.i18n.LocalizableMessage;
import static org.opends.messages.UtilityMessages.*;
import org.opends.messages.MessageBuilder;
import org.forgerock.i18n.LocalizableMessageBuilder;
/**
@@ -51,7 +52,7 @@
   *                           argument, or <CODE>null</CODE> if there is none.
   * @param  longIdentifier    The long identifier for this argument, or
   *                           <CODE>null</CODE> if there is none.
   * @param  description       Message for the description of this
   * @param  description       LocalizableMessage for the description of this
   *                           argument.
   *
   * @throws  ArgumentException  If there is a problem with any of the
@@ -59,7 +60,7 @@
   */
  public BooleanArgument(String name, Character shortIdentifier,
                         String longIdentifier,
                         Message description)
                         LocalizableMessage description)
         throws ArgumentException
  {
    super(name, shortIdentifier, longIdentifier, false, false, false, null,
@@ -80,7 +81,7 @@
   *          <CODE>false</CODE> if it is not.
   */
  public boolean valueIsAcceptable(String valueString,
                                   MessageBuilder invalidReason)
                                   LocalizableMessageBuilder invalidReason)
  {
    // This argument type should never have a value, so any value provided will
    // be unacceptable.