From 59b4905a66a5db370e6d0de5f7cb6dcd314ef443 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Sun, 26 Aug 2007 03:16:07 +0000
Subject: [PATCH] This commit includes all the code for the first version of the replication tools. As they require further testing the command line associated with them has not been committed.
---
opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java b/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java
index ea62557..cb7cf07 100644
--- a/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java
+++ b/opends/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java
@@ -1374,8 +1374,8 @@
if (throwable instanceof TopologyCacheException)
{
qs.displayError(
- Message.raw(getStringRepresentation(
- (TopologyCacheException)throwable)),
+ getMessage(
+ (TopologyCacheException)throwable),
INFO_ERROR_TITLE.get());
}
else
@@ -1438,7 +1438,7 @@
exceptions.add(e);
}
}
- Set<String> exceptionMsgs = new LinkedHashSet<String>();
+ Set<Message> exceptionMsgs = new LinkedHashSet<Message>();
/* Check the exceptions and see if we throw them or not. */
for (TopologyCacheException e : exceptions)
{
@@ -1504,13 +1504,13 @@
}
}
}
- exceptionMsgs.add(getStringRepresentation(e));
+ exceptionMsgs.add(getMessage(e));
}
if (!stopProcessing && (exceptionMsgs.size() > 0))
{
Message confirmationMsg =
- ERR_READING_REGISTERED_SERVERS_CONFIRM_UPDATE_REMOTE.get(
- getStringFromCollection(exceptionMsgs, "n"));
+ ERR_UNINSTALL_READING_REGISTERED_SERVERS_CONFIRM_UPDATE_REMOTE.get(
+ getMessageFromCollection(exceptionMsgs, "\n").toString());
stopProcessing = !qs.displayConfirmation(confirmationMsg,
INFO_CONFIRMATION_TITLE.get());
}
@@ -1568,8 +1568,7 @@
{
if (throwable instanceof TopologyCacheException)
{
- qs.displayError(Message.raw(
- getStringRepresentation((TopologyCacheException)throwable)),
+ qs.displayError(getMessage((TopologyCacheException)throwable),
INFO_ERROR_TITLE.get());
}
else
--
Gitblit v1.10.0