From 195021d1fbfc8d6082ceabd26fcae56309941af5 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 17 Oct 2007 12:46:16 +0000
Subject: [PATCH] Simplify the ProgressUpdateListenerDelegate interface.
---
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java
index 0c39f3d..53f14a3 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java
@@ -1107,7 +1107,15 @@
}
- private void checkAbort() throws ApplicationException {
+ /**
+ * Checks the value of <code>aborted</code> field and throws an
+ * ApplicationException if true. This indicates that the user has
+ * aborted this operation and the process of aborting should begin
+ * as soon as possible.
+ *
+ * @throws ApplicationException thrown if <code>aborted</code>
+ */
+ public void checkAbort() throws ApplicationException {
if (abort) throw new ApplicationException(
ReturnCode.CANCELLED,
INFO_UPGRADE_CANCELED.get(), null);
--
Gitblit v1.10.0