From 713fbdf427040620f68e29af42806f424f17fecc Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 17 Aug 2007 15:21:38 +0000
Subject: [PATCH] Fix a ClassCastException with Message objects in the Security Options dialog of the installer. Fix a bug that made the label of the server location not to appear as invalid when we detected that the installation path was not valid. Fix a bug in UIFactory so that the invalid labels have again a red color.

---
 opends/src/quicksetup/org/opends/quicksetup/installer/ui/SecurityOptionsDialog.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/ui/SecurityOptionsDialog.java b/opends/src/quicksetup/org/opends/quicksetup/installer/ui/SecurityOptionsDialog.java
index 6ea1172..a10e73d 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/ui/SecurityOptionsDialog.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/ui/SecurityOptionsDialog.java
@@ -681,7 +681,7 @@
             ArrayList<Message> errorMsgs = new ArrayList<Message>();
             for (Object o: ar)
             {
-              errorMsgs.add(Message.raw((String)o));
+              errorMsgs.add((Message)o);
             }
             displayError(Utils.getMessageFromCollection(errorMsgs, "\n"),
                 INFO_ERROR_TITLE.get());

--
Gitblit v1.10.0