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/Schema.java | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/sdk/src/org/opends/sdk/schema/Schema.java b/sdk/src/org/opends/sdk/schema/Schema.java
index bca449f..d045f88 100644
--- a/sdk/src/org/opends/sdk/schema/Schema.java
+++ b/sdk/src/org/opends/sdk/schema/Schema.java
@@ -38,8 +38,6 @@
import org.opends.sdk.*;
import org.opends.sdk.responses.SearchResultEntry;
-import com.sun.opends.sdk.util.LocalizedIllegalArgumentException;
-import com.sun.opends.sdk.util.Message;
import com.sun.opends.sdk.util.StaticUtils;
import com.sun.opends.sdk.util.Validator;
@@ -1545,7 +1543,7 @@
* Server.
*/
public static Schema getSchema(Connection connection, String dn,
- List<Message> warnings) throws ErrorResultException,
+ List<LocalizableMessage> warnings) throws ErrorResultException,
InterruptedException, LocalizedIllegalArgumentException,
SchemaNotFoundException
{
--
Gitblit v1.10.0