From f91657f02d733c7d93f3a83de9e43bcf1612ca5b Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Thu, 01 Aug 2013 15:26:46 +0000
Subject: [PATCH] Change visibility of various classes and methods in the upgrader so that it can be used for embedded upgrades.
---
opends/src/server/org/opends/server/tools/upgrade/ProgressNotificationCallback.java | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/upgrade/ProgressNotificationCallback.java b/opends/src/server/org/opends/server/tools/upgrade/ProgressNotificationCallback.java
index 979e21a..30496cb 100644
--- a/opends/src/server/org/opends/server/tools/upgrade/ProgressNotificationCallback.java
+++ b/opends/src/server/org/opends/server/tools/upgrade/ProgressNotificationCallback.java
@@ -55,7 +55,7 @@
* @param progress
* An integer representing the percentage of the task's progress.
*/
- public ProgressNotificationCallback(final int messageType,
+ ProgressNotificationCallback(final int messageType,
final Message message, final int progress)
{
super(messageType, message.toString());
@@ -73,24 +73,13 @@
}
/**
- * Sets the percentage's progress.
- *
- * @param progress
- * The percentage's progress.
- */
- public void setProgress(int progress)
- {
- this.progress = progress;
- }
-
- /**
* Change the progress on an existing progress notification callback.
*
* @param progress
* The new value of the progress.
* @return A progress Notification Callback
*/
- public ProgressNotificationCallback changeProgress(int progress)
+ ProgressNotificationCallback setProgress(int progress)
{
this.progress = progress;
return this;
--
Gitblit v1.10.0