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

Matthew Swift
17.55.2011 d8475ffa48cc7a7ecdca78295bf2ce42c6042e48
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/MatchingRuleUse.java
@@ -29,8 +29,7 @@
import static org.forgerock.opendj.ldap.CoreMessages.ERR_ATTR_SYNTAX_MRUSE_UNKNOWN_ATTR;
import static org.forgerock.opendj.ldap.CoreMessages.ERR_ATTR_SYNTAX_MRUSE_UNKNOWN_MATCHING_RULE;
import static org.forgerock.opendj.ldap.CoreMessages.*;
import java.util.*;
@@ -346,8 +345,8 @@
    {
      // This is bad because the matching rule use is associated with a
      // matching rule that we don't know anything about.
      final LocalizableMessage message = ERR_ATTR_SYNTAX_MRUSE_UNKNOWN_MATCHING_RULE
          .get(definition, oid);
      final LocalizableMessage message = ERR_ATTR_SYNTAX_MRUSE_UNKNOWN_MATCHING_RULE1
          .get(getNameOrOID(), oid);
      throw new SchemaException(message, e);
    }
@@ -361,8 +360,8 @@
      }
      catch (final UnknownSchemaElementException e)
      {
        final LocalizableMessage message = ERR_ATTR_SYNTAX_MRUSE_UNKNOWN_ATTR
            .get(oid, attribute);
        final LocalizableMessage message = ERR_ATTR_SYNTAX_MRUSE_UNKNOWN_ATTR1
            .get(getNameOrOID(), attribute);
        throw new SchemaException(message, e);
      }
      attributes.add(attributeType);