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

lutoff
09.44.2007 7dd2936dda1c7a52fc65b40876be53c928e1bbce
opends/src/server/org/opends/server/util/args/ArgumentParser.java
@@ -1174,14 +1174,22 @@
          String value = argumentProperties.getProperty(a.getPropertyName()
              .toLowerCase());
          MessageBuilder invalidReason =  new MessageBuilder();
          if ((value != null) && (a.valueIsAcceptable(value, invalidReason)))
          if (value != null)
          {
            a.addValue(value);
            if (a.needsValue())
            Boolean addValue = true;
            if (!( a instanceof BooleanArgument))
            {
              a.setPresent(true);
              addValue = a.valueIsAcceptable(value, invalidReason);
            }
            a.setValueSetByProperty(true);
            if (addValue)
            {
              a.addValue(value);
              if (a.needsValue())
              {
                a.setPresent(true);
              }
              a.setValueSetByProperty(true);
            }
          }
        }
      }