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/util/Base64.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/sdk/src/com/sun/opends/sdk/util/Base64.java b/sdk/src/com/sun/opends/sdk/util/Base64.java
index b9dcde1..446962e 100755
--- a/sdk/src/com/sun/opends/sdk/util/Base64.java
+++ b/sdk/src/com/sun/opends/sdk/util/Base64.java
@@ -31,9 +31,7 @@
 import static com.sun.opends.sdk.messages.Messages.*;
 import static com.sun.opends.sdk.util.Validator.*;
 
-import org.opends.sdk.ByteSequence;
-import org.opends.sdk.ByteString;
-import org.opends.sdk.ByteStringBuilder;
+import org.opends.sdk.*;
 
 
 
@@ -141,7 +139,7 @@
     int length = base64.length();
     if ((length % 4) != 0)
     {
-      Message message = ERR_BASE64_DECODE_INVALID_LENGTH.get(base64);
+      LocalizableMessage message = ERR_BASE64_DECODE_INVALID_LENGTH.get(base64);
       throw new LocalizedIllegalArgumentException(message);
     }
 
@@ -361,7 +359,7 @@
           }
           break;
         default:
-          Message message =
+          LocalizableMessage message =
               ERR_BASE64_DECODE_INVALID_CHARACTER.get(base64, base64
                   .charAt(i + j));
           throw new LocalizedIllegalArgumentException(message);

--
Gitblit v1.10.0