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

diff --git a/opendj3-server-dev/src/server/org/opends/server/util/EmbeddedUtils.java b/opendj3-server-dev/src/server/org/opends/server/util/EmbeddedUtils.java
index 95f702f..c141c68 100644
--- a/opendj3-server-dev/src/server/org/opends/server/util/EmbeddedUtils.java
+++ b/opendj3-server-dev/src/server/org/opends/server/util/EmbeddedUtils.java
@@ -22,6 +22,7 @@
  *
  *
  *      Copyright 2008 Sun Microsystems, Inc.
+ *      Portions Copyright 2014 ForgeRock AS
  */
 package org.opends.server.util;
 
@@ -33,7 +34,7 @@
 import org.opends.server.types.InitializationException;
 
 import static org.opends.messages.UtilityMessages.*;
-import org.opends.messages.Message;
+import org.forgerock.i18n.LocalizableMessage;
 
 
 
@@ -95,7 +96,7 @@
    * @param  className  The name of the class that initiated the shutdown.
    * @param  reason     A message explaining the reason for the shutdown.
    */
-  public static void stopServer(String className, Message reason)
+  public static void stopServer(String className, LocalizableMessage reason)
   {
     DirectoryServer.shutDown(className, reason);
   }
@@ -112,7 +113,7 @@
    * @param  config     The environment configuration to use for the new server
    *                    instance.
    */
-  public static void restartServer(String className, Message reason,
+  public static void restartServer(String className, LocalizableMessage reason,
                                    DirectoryEnvironmentConfig config)
   {
     DirectoryServer.restart(className, reason, config);

--
Gitblit v1.10.0