From d2d9f10d61c58c11c2452db5b28c3490d3ee76df Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 27 Mar 2008 16:53:18 +0000
Subject: [PATCH] Add some missing line breaks to the progress message of the uninstaller.

---
 opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/FileManager.java    |    9 +++------
 opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java |    4 ++--
 opendj-sdk/opends/src/messages/messages/admin_tool.properties                   |    2 +-
 3 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java
index 31cec31..c2233f4 100644
--- a/opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java
@@ -1056,7 +1056,7 @@
     }
     if (!isVerbose())
     {
-      notifyListeners(getFormattedDone());
+      notifyListeners(getFormattedDoneWithLineBreak());
     }
   }
 
@@ -1083,7 +1083,7 @@
     }
     if (!isVerbose())
     {
-      notifyListeners(getFormattedDone());
+      notifyListeners(getFormattedDoneWithLineBreak());
     }
   }
 
diff --git a/opendj-sdk/opends/src/messages/messages/admin_tool.properties b/opendj-sdk/opends/src/messages/messages/admin_tool.properties
index 7c62239..af9e86d 100644
--- a/opendj-sdk/opends/src/messages/messages/admin_tool.properties
+++ b/opendj-sdk/opends/src/messages/messages/admin_tool.properties
@@ -287,7 +287,7 @@
 SEVERE_ERR_STATUS_PANEL_LAUNCHER_GUI_LAUNCH_FAILED=Could not launch Status \
 Panel.  Check that you have access to the display.
 SEVERE_ERR_STATUS_PANEL_LAUNCHER_GUI_LAUNCH_FAILED_DETAILS=Could not launch \
-Status Panel.  Check that you have access to the display.   Check file %s for \
+ Status Panel.  Check that you have access to the display.   Check file %s for \
  details.
 INFO_STATUS_PANEL_LAUNCHER_USAGE_DESCRIPTION=This utility can be used to \
  display the Status Panel window which displays basic server information and \
diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/FileManager.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/FileManager.java
index a13396f..ab23dfc 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/FileManager.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/FileManager.java
@@ -28,7 +28,6 @@
 package org.opends.quicksetup.util;
 
 import org.opends.messages.Message;
-import org.opends.messages.MessageBuilder;
 import static org.opends.messages.QuickSetupMessages.*;
 
 import org.opends.quicksetup.*;
@@ -584,12 +583,10 @@
                   destination.getAbsolutePath() + "' already exists");
           if ((application != null) && application.isVerbose()) {
             application.notifyListeners(
-                    new MessageBuilder(
-                            INFO_INFO_IGNORING_FILE.get(
+                    INFO_INFO_IGNORING_FILE.get(
                                     objectFile.getAbsolutePath(),
-                                    destination.getAbsolutePath()))
-                            .append(application.getLineBreak())
-                            .toMessage());
+                                    destination.getAbsolutePath()));
+            application.notifyListeners(application.getLineBreak());
           }
         }
       }

--
Gitblit v1.10.0