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/com/sun/opends/sdk/tools/BooleanArgument.java |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/sdk/src/com/sun/opends/sdk/tools/BooleanArgument.java b/sdk/src/com/sun/opends/sdk/tools/BooleanArgument.java
index 6e051e6..de6d27f 100644
--- a/sdk/src/com/sun/opends/sdk/tools/BooleanArgument.java
+++ b/sdk/src/com/sun/opends/sdk/tools/BooleanArgument.java
@@ -30,8 +30,9 @@
 
 import static com.sun.opends.sdk.messages.Messages.*;
 
-import com.sun.opends.sdk.util.Message;
-import com.sun.opends.sdk.util.MessageBuilder;
+import org.opends.sdk.LocalizableMessage;
+import org.opends.sdk.LocalizableMessageBuilder;
+
 
 
 
@@ -57,13 +58,13 @@
    *          The long identifier for this argument, or
    *          <CODE>null</CODE> if there is none.
    * @param description
-   *          Message for the description of this argument.
+   *          LocalizableMessage for the description of this argument.
    * @throws ArgumentException
    *           If there is a problem with any of the parameters used to
    *           create this argument.
    */
   public BooleanArgument(String name, Character shortIdentifier,
-      String longIdentifier, Message description)
+      String longIdentifier, LocalizableMessage description)
       throws ArgumentException
   {
     super(name, shortIdentifier, longIdentifier, false, false, false,
@@ -85,7 +86,7 @@
    *         <CODE>false</CODE> if it is not.
    */
   public boolean valueIsAcceptable(String valueString,
-      MessageBuilder invalidReason)
+      LocalizableMessageBuilder invalidReason)
   {
     // This argument type should never have a value, so any value
     // provided will

--
Gitblit v1.10.0