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

matthew_swift
24.21.2007 c4b20d52fa50404b6b8d0a910a41b3fc47cfb90e
opends/src/server/org/opends/server/admin/SizePropertyDefinition.java
@@ -130,7 +130,7 @@
     */
    public final void setLowerLimit(String lowerLimit)
        throws IllegalArgumentException {
      setLowerLimit(SizeUnit.parseValue(lowerLimit));
      setLowerLimit(SizeUnit.parseValue(lowerLimit, SizeUnit.BYTES));
    }
@@ -175,7 +175,7 @@
      if (upperLimit == null) {
        setUpperLimit((Long) null);
      } else {
        setUpperLimit(SizeUnit.parseValue(upperLimit));
        setUpperLimit(SizeUnit.parseValue(upperLimit, SizeUnit.BYTES));
      }
    }
@@ -344,7 +344,7 @@
    // Decode the value.
    Long i;
    try {
      i = SizeUnit.parseValue(value);
      i = SizeUnit.parseValue(value, SizeUnit.BYTES);
    } catch (NumberFormatException e) {
      throw new IllegalPropertyValueStringException(this, value);
    }