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

Jean-Noel Rouvignac
25.46.2014 3405d830b2a4fc240c03cbe6beba40b77ad889f3
opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/PropertyValuePrinter.java
@@ -83,11 +83,9 @@
      this.timeUnit = timeUnit;
      this.isScriptFriendly = isScriptFriendly;
      this.numberFormat = NumberFormat.getNumberInstance();
      {
        numberFormat.setGroupingUsed(!this.isScriptFriendly);
        numberFormat.setMaximumFractionDigits(2);
      }
      numberFormat = NumberFormat.getNumberInstance();
      numberFormat.setGroupingUsed(!this.isScriptFriendly);
      numberFormat.setMaximumFractionDigits(2);
    }
@@ -96,11 +94,7 @@
    @Override
    public LocalizableMessage visitBoolean(BooleanPropertyDefinition pd, Boolean v,
        Void p) {
      if (!v) {
        return INFO_VALUE_FALSE.get();
      } else {
        return INFO_VALUE_TRUE.get();
      }
      return v ? INFO_VALUE_TRUE.get() : INFO_VALUE_FALSE.get();
    }