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/guitools/org/opends/guitools/controlpanel/ui/ResetUserPasswordPanel.java |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ui/ResetUserPasswordPanel.java b/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ui/ResetUserPasswordPanel.java
index 55bff09..ae3708a 100644
--- a/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ui/ResetUserPasswordPanel.java
+++ b/opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ui/ResetUserPasswordPanel.java
@@ -22,6 +22,7 @@
  *
  *
  *      Copyright 2008-2009 Sun Microsystems, Inc.
+ *      Portions Copyright 2014 ForgeRock AS
  */
 
 package org.opends.guitools.controlpanel.ui;
@@ -41,7 +42,7 @@
 import org.opends.guitools.controlpanel.task.Task;
 import org.opends.guitools.controlpanel.ui.nodes.BasicNode;
 import org.opends.guitools.controlpanel.util.Utilities;
-import org.opends.messages.Message;
+import org.forgerock.i18n.LocalizableMessage;
 
 /**
  * Panel that appears when the user wants to change the password of a user.
@@ -105,7 +106,7 @@
    */
   public void okClicked()
   {
-    final ArrayList<Message> errors = new ArrayList<Message>();
+    final ArrayList<LocalizableMessage> errors = new ArrayList<LocalizableMessage>();
 
     setPrimaryValid(lPassword);
     setPrimaryValid(lConfirmPassword);
@@ -160,7 +161,7 @@
   /**
    * {@inheritDoc}
    */
-  public Message getTitle()
+  public LocalizableMessage getTitle()
   {
     return INFO_CTRL_PANEL_RESET_USER_PASSWORD_TITLE.get();
   }
@@ -184,7 +185,7 @@
     gbc.weighty = 0.0;
     gbc.fill = GridBagConstraints.HORIZONTAL;
 
-    Message[] strings =
+    LocalizableMessage[] strings =
     {
         INFO_CTRL_PANEL_RESET_USER_PASSWORD_DN_LABEL.get(),
         INFO_CTRL_PANEL_RESET_USER_PASSWORD_NAME_LABEL.get(),

--
Gitblit v1.10.0