From f388765afea9a353ef2e616ab9960e8acbf32d25 Mon Sep 17 00:00:00 2001
From: sin <sin@localhost>
Date: Wed, 17 Dec 2008 19:25:45 +0000
Subject: [PATCH] Integerated first part of the Fix for Issue# 262:Plugin for Collation/Internationalization
---
opendj-sdk/opends/src/server/org/opends/server/schema/ObjectIdentifierEqualityMatchingRule.java | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/schema/ObjectIdentifierEqualityMatchingRule.java b/opendj-sdk/opends/src/server/org/opends/server/schema/ObjectIdentifierEqualityMatchingRule.java
index e5fc426..5bd1c0f 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/schema/ObjectIdentifierEqualityMatchingRule.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/schema/ObjectIdentifierEqualityMatchingRule.java
@@ -31,16 +31,15 @@
import java.util.Arrays;
-import org.opends.server.admin.std.server.EqualityMatchingRuleCfg;
+import java.util.Collections;
+import java.util.Collection;
import org.opends.server.api.EqualityMatchingRule;
import org.opends.server.api.MatchingRule;
-import org.opends.server.config.ConfigException;
import org.opends.server.core.DirectoryServer;
import org.opends.server.protocols.asn1.ASN1OctetString;
import org.opends.server.types. AttributeType;
import org.opends.server.types.ByteString;
import org.opends.server.types.DirectoryException;
-import org.opends.server.types.InitializationException;
import org.opends.server.types.NameForm;
import org.opends.server.types.ObjectClass;
import org.opends.server.types.ResultCode;
@@ -56,7 +55,7 @@
* and referenced in RFC 2252. This expects to work on OIDs and will match
* either an attribute/objectclass name or a numeric OID.
*/
-public class ObjectIdentifierEqualityMatchingRule
+class ObjectIdentifierEqualityMatchingRule
extends EqualityMatchingRule
{
/**
@@ -72,10 +71,9 @@
/**
* {@inheritDoc}
*/
- public void initializeMatchingRule(EqualityMatchingRuleCfg configuration)
- throws ConfigException, InitializationException
+ public Collection<String> getAllNames()
{
- // No initialization is required.
+ return Collections.singleton(getName());
}
--
Gitblit v1.10.0