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

Jean-Noel Rouvignac
14.05.2014 3c47c41e9ebd977095879ade126e348ee0b2d5d9
opendj3-server-dev/src/server/org/opends/server/schema/KeywordEqualityMatchingRule.java
@@ -22,17 +22,15 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2014 ForgeRock AS
 */
package org.opends.server.schema;
import java.util.Collection;
import java.util.Collections;
import static org.opends.server.schema.SchemaConstants.*;
/**
 * This class implements the keywordMatch matching rule defined in X.520.  That
 * document defines "keyword" as implementation-specific, but in this case we
@@ -54,27 +52,13 @@
  /**
   * {@inheritDoc}
   */
  @Override
  public Collection<String> getNames()
  {
    return Collections.singleton(getName());
    return Collections.singleton(EMR_KEYWORD_NAME);
  }
  /**
   * Retrieves the common name for this matching rule.
   *
   * @return  The common name for this matching rule, or <CODE>null</CODE> if
   * it does not have a name.
   */
  @Override
  public String getName()
  {
    return EMR_KEYWORD_NAME;
  }
  /**
   * Retrieves the OID for this matching rule.
   *