From 6df6635f1250c399a2f39d87d0534301ce4c22d7 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Fri, 31 Aug 2007 15:43:58 +0000
Subject: [PATCH] Exposes the reversion functionality of the upgrader (issue 2169). Originally it was intended to be exposed as a new script but in order to avoid the negativity of having a command devoted to undoing the upgrade and to avoid more scripts in the top-level directory, I've exposed the functionality as 2 new options in the existing upgrade script. I will update the Wiki with documentation for these new options soon.
---
opends/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java b/opends/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java
index 29da0bc..3e2d081 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java
@@ -569,7 +569,7 @@
(t.getMessage() == null) ? t.toString() : t.getMessage());
LOG.log(Level.INFO, msg.toString(), t);
throw new ApplicationException(
- ApplicationReturnCode.ReturnCode.IMPORT_ERROR, msg, t);
+ ReturnCode.IMPORT_ERROR, msg, t);
}
}
@@ -578,7 +578,7 @@
*/
public UserInteraction userInteraction() {
UserInteraction ui = null;
- if (!getUserData().isQuiet()) {
+ if (!getUserData().isInteractive()) {
if (Utils.isCli()) {
ui = new CliUserInteraction();
} else {
--
Gitblit v1.10.0