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

Nicolas Capponi
02.33.2014 e114a899bbc0df59f5135f195d24797bf6c1b778
opendj-sdk/opendj-admin/src/main/java/org/opends/server/admin/IntegerPropertyDefinition.java
@@ -229,7 +229,7 @@
     * {@inheritDoc}
     */
    @Override
    public void validateValue(Integer value) {
    public void validateValue(Integer value, PropertyDefinitionsOptions options) {
        Reject.ifNull(value);
        if (!allowUnlimited && value < lowerLimit) {
@@ -266,7 +266,7 @@
     * {@inheritDoc}
     */
    @Override
    public Integer decodeValue(String value) {
    public Integer decodeValue(String value, PropertyDefinitionsOptions options) {
        Reject.ifNull(value);
        if (allowUnlimited) {
@@ -283,7 +283,7 @@
        }
        try {
            validateValue(i);
            validateValue(i, options);
        } catch (IllegalPropertyValueException e) {
            throw new IllegalPropertyValueStringException(this, value);
        }