From 39db72786ec179e67e3c1c0c71a2e93672999ea5 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Thu, 03 Dec 2009 18:04:49 +0000
Subject: [PATCH] Split SDK from server code and add build/packaging infrastructure.
---
sdk/src/org/opends/sdk/schema/AbstractSubstringMatchingRuleImpl.java | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/sdk/src/org/opends/sdk/schema/AbstractSubstringMatchingRuleImpl.java b/sdk/src/org/opends/sdk/schema/AbstractSubstringMatchingRuleImpl.java
index 7c0c1b0..23f4257 100644
--- a/sdk/src/org/opends/sdk/schema/AbstractSubstringMatchingRuleImpl.java
+++ b/sdk/src/org/opends/sdk/schema/AbstractSubstringMatchingRuleImpl.java
@@ -28,10 +28,11 @@
+import static com.sun.opends.sdk.util.Messages.*;
+
import java.util.LinkedList;
import java.util.List;
-import org.opends.messages.SchemaMessages;
import org.opends.sdk.Assertion;
import org.opends.sdk.ConditionResult;
import org.opends.sdk.DecodeException;
@@ -172,7 +173,7 @@
if (value.length() == 0)
{
throw DecodeException.error(
- SchemaMessages.WARN_ATTR_SYNTAX_SUBSTRING_EMPTY.get());
+ WARN_ATTR_SYNTAX_SUBSTRING_EMPTY.get());
}
ByteSequence initialString = null;
@@ -199,7 +200,7 @@
if (reader.remaining() == 0)
{
throw DecodeException.error(
- SchemaMessages.WARN_ATTR_SYNTAX_SUBSTRING_NO_WILDCARDS
+ WARN_ATTR_SYNTAX_SUBSTRING_NO_WILDCARDS
.get(value.toString()));
}
while (true)
@@ -211,7 +212,7 @@
if (bytes.length() == 0)
{
throw DecodeException.error(
- SchemaMessages.WARN_ATTR_SYNTAX_SUBSTRING_CONSECUTIVE_WILDCARDS
+ WARN_ATTR_SYNTAX_SUBSTRING_CONSECUTIVE_WILDCARDS
.get(value.toString(), reader.pos()));
}
if (anyStrings == null)
--
Gitblit v1.10.0