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

jcduff
23.04.2008 f73b655466092169abac34833fb628fce1fcdebe
opends/src/server/org/opends/server/config/DNConfigAttribute.java
@@ -33,6 +33,7 @@
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import javax.management.AttributeList;
import javax.management.MBeanAttributeInfo;
import javax.management.MBeanParameterInfo;
@@ -253,7 +254,7 @@
   *
   * @return  The attribute syntax for this configuration attribute.
   */
  public AttributeSyntax getSyntax()
  public AttributeSyntax<?> getSyntax()
  {
    return DirectoryServer.getDefaultStringSyntax();
  }
@@ -809,8 +810,7 @@
          }
          LinkedHashSet<AttributeValue> values = a.getValues();
          if (values.isEmpty())
          if (a.isEmpty())
          {
            if (isRequired())
            {
@@ -826,7 +826,7 @@
          }
          else
          {
            int numValues = values.size();
            int numValues = a.size();
            if ((numValues > 1) && (! isMultiValued()))
            {
              // This is illegal -- the attribute is single-valued.
@@ -836,7 +836,7 @@
            }
            pendingValues = new ArrayList<DN>(numValues);
            for (AttributeValue v : values)
            for (AttributeValue v : a)
            {
              DN dn;
              try
@@ -880,8 +880,7 @@
        }
        LinkedHashSet<AttributeValue> values = a.getValues();
        if (values.isEmpty())
        if (a.isEmpty())
        {
          if (isRequired())
          {
@@ -897,7 +896,7 @@
        }
        else
        {
          int numValues = values.size();
          int numValues = a.size();
          if ((numValues > 1) && (! isMultiValued()))
          {
            // This is illegal -- the attribute is single-valued.
@@ -907,7 +906,7 @@
          }
          activeValues = new ArrayList<DN>(numValues);
          for (AttributeValue v : values)
          for (AttributeValue v : a)
          {
            DN dn;
            try