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

Jean-Noel Rouvignac
20.11.2014 7d7913228e6f52273f2fdada6822a380f95e0f8c
opendj-sdk/opendj-cli/src/main/java/com/forgerock/opendj/cli/Argument.java
@@ -153,12 +153,12 @@
        this.description = description;
        this.isValueSetByProperty = false;
        if ((shortIdentifier == null) && (longIdentifier == null)) {
        if (shortIdentifier == null && longIdentifier == null) {
            final LocalizableMessage message = ERR_ARG_NO_IDENTIFIER.get(name);
            throw new ArgumentException(message);
        }
        if (needsValue && (valuePlaceholder == null)) {
        if (needsValue && valuePlaceholder == null) {
            final LocalizableMessage message = ERR_ARG_NO_VALUE_PLACEHOLDER.get(name);
            throw new ArgumentException(message);
        }
@@ -457,7 +457,7 @@
     *         <CODE>false</CODE> if it does not have any values.
     */
    public boolean hasValue() {
        return (!values.isEmpty());
        return !values.isEmpty();
    }
    /**