From b7b304994dd037ced0df2d5d04c1aa4d41c6bb72 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
---
opends/src/server/org/opends/server/schema/GeneralizedTimeOrderingMatchingRule.java | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/opends/src/server/org/opends/server/schema/GeneralizedTimeOrderingMatchingRule.java b/opends/src/server/org/opends/server/schema/GeneralizedTimeOrderingMatchingRule.java
index 151f51d..54335ee 100644
--- a/opends/src/server/org/opends/server/schema/GeneralizedTimeOrderingMatchingRule.java
+++ b/opends/src/server/org/opends/server/schema/GeneralizedTimeOrderingMatchingRule.java
@@ -28,21 +28,19 @@
-import org.opends.server.admin.std.server.OrderingMatchingRuleCfg;
+import java.util.Collection;
+import java.util.Collections;
import org.opends.server.api.OrderingMatchingRule;
-import org.opends.server.config.ConfigException;
import org.opends.server.core.DirectoryServer;
import org.opends.server.loggers.debug.DebugTracer;
import org.opends.server.protocols.asn1.ASN1OctetString;
import org.opends.server.types.ByteString;
import org.opends.server.types.DebugLogLevel;
import org.opends.server.types.DirectoryException;
-import org.opends.server.types.InitializationException;
import static org.opends.server.loggers.ErrorLogger.*;
import static org.opends.server.loggers.debug.DebugLogger.*;
import static org.opends.server.schema.SchemaConstants.*;
-import static org.opends.server.util.ServerConstants.*;
@@ -50,7 +48,7 @@
* This class defines the generalizedTimeOrderingMatch matching rule defined in
* X.520 and referenced in RFC 2252.
*/
-public class GeneralizedTimeOrderingMatchingRule
+class GeneralizedTimeOrderingMatchingRule
extends OrderingMatchingRule
{
/**
@@ -83,10 +81,9 @@
/**
* {@inheritDoc}
*/
- public void initializeMatchingRule(OrderingMatchingRuleCfg configuration)
- throws ConfigException, InitializationException
+ public Collection<String> getAllNames()
{
- // No initialization is required.
+ return Collections.singleton(getName());
}
--
Gitblit v1.10.0