From 460075839833c278f128c1482638767cdc68bfc7 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.
---
opendj-sdk/sdk/src/org/opends/sdk/controls/VLVTarget.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/sdk/src/org/opends/sdk/controls/VLVTarget.java b/opendj-sdk/sdk/src/org/opends/sdk/controls/VLVTarget.java
index 0e8f398..19230fd 100644
--- a/opendj-sdk/sdk/src/org/opends/sdk/controls/VLVTarget.java
+++ b/opendj-sdk/sdk/src/org/opends/sdk/controls/VLVTarget.java
@@ -9,10 +9,10 @@
import org.opends.sdk.ByteString;
import org.opends.sdk.DecodeException;
+import org.opends.sdk.LocalizableMessage;
import org.opends.sdk.asn1.ASN1Reader;
import org.opends.sdk.asn1.ASN1Writer;
-import com.sun.opends.sdk.util.Message;
import com.sun.opends.sdk.util.Validator;
@@ -155,7 +155,7 @@
return new GreaterThanOrEqual(assertionValue);
default:
- Message message = INFO_VLVREQ_CONTROL_INVALID_TARGET_TYPE
+ LocalizableMessage message = INFO_VLVREQ_CONTROL_INVALID_TARGET_TYPE
.get(byteToHex(targetType));
throw DecodeException.error(message);
}
--
Gitblit v1.10.0