From 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Fri, 24 Jan 2014 14:43:46 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1288 :    Migrate I18n and logging support to i18n framework and SLF4J

---
 opendj3-server-dev/src/server/org/opends/server/tools/upgrade/UpgradeContext.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/tools/upgrade/UpgradeContext.java b/opendj3-server-dev/src/server/org/opends/server/tools/upgrade/UpgradeContext.java
index 1cf2fc9..2bed0e8 100644
--- a/opendj3-server-dev/src/server/org/opends/server/tools/upgrade/UpgradeContext.java
+++ b/opendj3-server-dev/src/server/org/opends/server/tools/upgrade/UpgradeContext.java
@@ -21,7 +21,7 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2013 ForgeRock AS
+ *      Portions Copyright 2013-2014 ForgeRock AS
  */
 
 package org.opends.server.tools.upgrade;
@@ -36,7 +36,7 @@
 import javax.security.auth.callback.ConfirmationCallback;
 import javax.security.auth.callback.TextOutputCallback;
 
-import org.opends.messages.Message;
+import org.forgerock.i18n.LocalizableMessage;
 import org.opends.server.tools.ClientException;
 import org.opends.server.types.InitializationException;
 import org.opends.server.util.BuildVersion;
@@ -277,7 +277,7 @@
    * @throws ClientException
    *           If an error occurred while reporting the message.
    */
-  void notify(final Message message) throws ClientException
+  void notify(final LocalizableMessage message) throws ClientException
   {
     try
     {
@@ -304,7 +304,7 @@
    * @throws ClientException
    *           If an error occurred while reporting the message.
    */
-  void notify(final Message message, final int msgType) throws ClientException
+  void notify(final LocalizableMessage message, final int msgType) throws ClientException
   {
     try
     {
@@ -355,7 +355,7 @@
    *           If an error occurred while reporting the message.
    * @return an integer corresponding to the user's answer.
    */
-  int confirmYN(final Message message, final int defaultOption)
+  int confirmYN(final LocalizableMessage message, final int defaultOption)
       throws ClientException
   {
     final ConfirmationCallback confirmYNCallback = new ConfirmationCallback(

--
Gitblit v1.10.0