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

Jean-Noël Rouvignac
29.51.2015 4baece95779dd46a3a59d59d1b7aa5958cf6117d
opendj-server-legacy/src/main/java/org/opends/server/config/StringConfigAttribute.java
@@ -419,7 +419,7 @@
        throw new ConfigException(ERR_CONFIG_ATTR_EMPTY_STRING_VALUE.get(getName()));
      }
      ByteString attrValue = ByteString.valueOf(value);
      ByteString attrValue = ByteString.valueOfUtf8(value);
      if (valueSet.contains(attrValue))
      {
        throw new ConfigException(ERR_CONFIG_ATTR_ADD_VALUES_ALREADY_EXISTS.get(getName(), value));
@@ -535,7 +535,7 @@
        continue;
      }
      valueSet.add(ByteString.valueOf(valueString));
      valueSet.add(ByteString.valueOfUtf8(valueString));
    }
    // If this method was configured to continue on error, then it is possible