From 6c06c2c0fd1bfb5c261b910ee8092037184e70a5 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.
---
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/ZipExtractor.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/ZipExtractor.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/ZipExtractor.java
index e13be3b..cb1f029 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/ZipExtractor.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/ZipExtractor.java
@@ -32,7 +32,7 @@
import org.opends.quicksetup.ApplicationException;
import org.opends.quicksetup.Application;
-import org.opends.quicksetup.ApplicationReturnCode;
+import org.opends.quicksetup.ReturnCode;
import java.io.*;
import java.util.zip.ZipInputStream;
@@ -210,7 +210,7 @@
INFO_ERROR_COPYING.get(entry.getName()), ioe);
throw new ApplicationException(
- ApplicationReturnCode.ReturnCode.FILE_SYSTEM_ACCESS_ERROR,
+ ReturnCode.FILE_SYSTEM_ACCESS_ERROR,
errorMsg, ioe);
}
}
@@ -246,7 +246,7 @@
Utils.getThrowableMsg(
INFO_ERROR_ZIP_STREAM.get(zipFileName), ioe);
throw new ApplicationException(
- ApplicationReturnCode.ReturnCode.FILE_SYSTEM_ACCESS_ERROR,
+ ReturnCode.FILE_SYSTEM_ACCESS_ERROR,
errorMsg, ioe);
}
}
--
Gitblit v1.10.0