From 1b9f39db0f5450de6c3bb97cec681c342fff5944 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Tue, 08 Dec 2009 10:52:42 +0000
Subject: [PATCH] Move Message/MessageBuilder/LocalizableException/LocalizableIllegalArgumentException to public API since other public API elements reference them. Prefix Message/MessageBuilder with Localizable to emphasize that these classes are I18N related and not protocol messages. Keep MessageDescriptor private since users should not need access to it for now.
---
sdk/src/org/opends/sdk/schema/PrintableStringSyntaxImpl.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/src/org/opends/sdk/schema/PrintableStringSyntaxImpl.java b/sdk/src/org/opends/sdk/schema/PrintableStringSyntaxImpl.java
index 56ec225..307e7fc 100644
--- a/sdk/src/org/opends/sdk/schema/PrintableStringSyntaxImpl.java
+++ b/sdk/src/org/opends/sdk/schema/PrintableStringSyntaxImpl.java
@@ -33,8 +33,8 @@
import static org.opends.sdk.schema.SchemaConstants.*;
import org.opends.sdk.ByteSequence;
+import org.opends.sdk.LocalizableMessageBuilder;
-import com.sun.opends.sdk.util.MessageBuilder;
@@ -205,7 +205,7 @@
* use with this syntax, or <CODE>false</CODE> if not.
*/
public boolean valueIsAcceptable(Schema schema, ByteSequence value,
- MessageBuilder invalidReason)
+ LocalizableMessageBuilder invalidReason)
{
// Check to see if the provided value was null. If so, then that's
// not acceptable.
--
Gitblit v1.10.0