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

Jean-Noel Rouvignac
11.03.2013 64a1c1e6aeaace87ba336573c3a7aaa12a88ab4b
opendj-sdk/opends/src/server/org/opends/server/util/args/Argument.java
@@ -72,7 +72,7 @@
  /** The unique ID of the description for this argument. */
  private Message description;
  /** The set of values for this argument. */
  /** The set of provided values for this argument. */
  private LinkedList<String> values;
  /** The default value for the argument if none other is provided. */
@@ -89,7 +89,8 @@
  /**
   * The value placeholder for this argument, which will be used in usage
   * information.
   * information. It describes the format that must be used to specify the
   * values for this argument.
   */
  private Message valuePlaceholder;
@@ -692,19 +693,11 @@
        sb.append("--").append(longIdentifier);
      }
    }
    if (isRequired)
    {
      sb.append(", required");
    }
    if (isMultiValued)
    {
      sb.append(", multiValued");
    }
    if (needsValue)
    {
      sb.append(", needsValue");
    }
    sb.append(", ").append(isRequired ? "required" : "optional");
    sb.append(", ").append(isMultiValued ? "multiValued" : "singleValued");
    sb.append(", defaultValue=\"").append(defaultValue)
      .append("\", valueFormat=\"").append(valuePlaceholder)
      .append("\", providedValues=\"").append(values)
      .append("\", description=\"").append(description)
      .append("\"]");
    return sb.toString();