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/SchemaElement.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/sdk/src/org/opends/sdk/schema/SchemaElement.java b/sdk/src/org/opends/sdk/schema/SchemaElement.java
index 1e3e135..a33727d 100644
--- a/sdk/src/org/opends/sdk/schema/SchemaElement.java
+++ b/sdk/src/org/opends/sdk/schema/SchemaElement.java
@@ -32,7 +32,8 @@
import java.util.List;
import java.util.Map;
-import com.sun.opends.sdk.util.Message;
+import org.opends.sdk.LocalizableMessage;
+
import com.sun.opends.sdk.util.Validator;
@@ -180,6 +181,6 @@
- abstract void validate(List<Message> warnings, Schema schema)
+ abstract void validate(List<LocalizableMessage> warnings, Schema schema)
throws SchemaException;
}
--
Gitblit v1.10.0