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

jvergara
19.09.2010 838e873376cc4a1cc3588746f6bf8dec4c9355a9
opends/src/guitools/org/opends/guitools/controlpanel/util/SchemaLoader.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2008-2009 Sun Microsystems, Inc.
 *      Copyright 2008-2010 Sun Microsystems, Inc.
 */
package org.opends.guitools.controlpanel.util;
@@ -70,8 +70,8 @@
    new ArrayList<AttributeType>();
  private final ArrayList<MatchingRule> matchingRulesToKeep =
    new ArrayList<MatchingRule>();
  private final ArrayList<AttributeSyntax> syntaxesToKeep =
    new ArrayList<AttributeSyntax>();
  private final ArrayList<AttributeSyntax<?>> syntaxesToKeep =
    new ArrayList<AttributeSyntax<?>>();
  /**
   * Constructor.
@@ -100,7 +100,7 @@
    {
      matchingRulesToKeep.add(mr);
    }
    for (AttributeSyntax syntax : sc.getSyntaxes().values())
    for (AttributeSyntax<?> syntax : sc.getSyntaxes().values())
    {
      syntaxesToKeep.add(syntax);
    }
@@ -260,7 +260,7 @@
    {
      schema.registerMatchingRule(mr, true);
    }
    for (AttributeSyntax syntax : syntaxesToKeep)
    for (AttributeSyntax<?> syntax : syntaxesToKeep)
    {
      schema.registerSyntax(syntax, true);
    }