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

Jean-Noel Rouvignac
31.49.2014 a1f030edc5d19b575470f0d79033d9f7471ab172
opendj3-server-dev/src/server/org/opends/server/config/MultiChoiceConfigAttribute.java
@@ -856,9 +856,8 @@
              if (! allowedValues.contains(lowerValue))
              {
                // This is illegal -- the value is not allowed.
                LocalizableMessage message = ERR_CONFIG_ATTR_VALUE_NOT_ALLOWED.get(
                    v.getValue().toString(), a.getName());
                throw new ConfigException(message);
                throw new ConfigException(ERR_CONFIG_ATTR_VALUE_NOT_ALLOWED.get(
                    v.getValue(), a.getName()));
              }
              pendingValues.add(v.getValue().toString());
@@ -918,9 +917,8 @@
            if (! allowedValues.contains(lowerValue))
            {
              // This is illegal -- the value is not allowed.
              LocalizableMessage message = ERR_CONFIG_ATTR_VALUE_NOT_ALLOWED.get(
                  v.getValue().toString(), a.getName());
              throw new ConfigException(message);
              throw new ConfigException(ERR_CONFIG_ATTR_VALUE_NOT_ALLOWED.get(
                  v.getValue(), a.getName()));
            }
            activeValues.add(v.getValue().toString());