From dd8c19ab2e4fc3347c7cf74b4351a48e3774166a Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Mon, 29 Sep 2014 12:24:49 +0000
Subject: [PATCH] OPENDJ-1308 Migrate schema support - SubstringMatchingRule
---
opendj3-server-dev/src/server/org/opends/server/schema/TelephoneNumberSyntax.java | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/schema/TelephoneNumberSyntax.java b/opendj3-server-dev/src/server/org/opends/server/schema/TelephoneNumberSyntax.java
index 081bab0..330b2d3 100644
--- a/opendj3-server-dev/src/server/org/opends/server/schema/TelephoneNumberSyntax.java
+++ b/opendj3-server-dev/src/server/org/opends/server/schema/TelephoneNumberSyntax.java
@@ -36,7 +36,6 @@
import org.opends.server.admin.std.server.TelephoneNumberAttributeSyntaxCfg;
import org.opends.server.api.MatchingRule;
import org.opends.server.api.AttributeSyntax;
-import org.opends.server.api.SubstringMatchingRule;
import org.forgerock.opendj.config.server.ConfigException;
import org.opends.server.core.DirectoryServer;
import org.opends.server.types.ConfigChangeResult;
@@ -75,7 +74,7 @@
private MatchingRule defaultEqualityMatchingRule;
// The default substring matching rule for this syntax.
- private SubstringMatchingRule defaultSubstringMatchingRule;
+ private MatchingRule defaultSubstringMatchingRule;
// The current configuration for this telephone number syntax.
private TelephoneNumberAttributeSyntaxCfg currentConfig;
@@ -215,7 +214,7 @@
* attributes with this syntax, or <CODE>null</CODE> if substring
* matches will not be allowed for this type by default.
*/
- public SubstringMatchingRule getSubstringMatchingRule()
+ public MatchingRule getSubstringMatchingRule()
{
return defaultSubstringMatchingRule;
}
--
Gitblit v1.10.0