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

Jean-Noel Rouvignac
14.05.2014 3c47c41e9ebd977095879ade126e348ee0b2d5d9
opendj3-server-dev/src/server/org/opends/server/schema/OctetStringSubstringMatchingRule.java
@@ -28,16 +28,16 @@
import static org.opends.server.schema.SchemaConstants.*;
import java.util.Collection;
import java.util.Collections;
import org.opends.server.api.SubstringMatchingRule;
import org.forgerock.opendj.ldap.ByteSequence;
import org.forgerock.opendj.ldap.ByteString;
import org.opends.server.api.SubstringMatchingRule;
import org.opends.server.types.DirectoryException;
import static org.opends.server.schema.SchemaConstants.*;
/**
@@ -64,25 +64,10 @@
  @Override
  public Collection<String> getNames()
  {
    return Collections.singleton(getName());
    return Collections.singleton(SMR_OCTET_STRING_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 SMR_OCTET_STRING_NAME;
  }
  /**
   * Retrieves the OID for this matching rule.
   *