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/Upgrade.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/upgrade/Upgrade.java b/opends/src/server/org/opends/server/tools/upgrade/Upgrade.java
index c3faba3..0ebd39d 100644
--- a/opends/src/server/org/opends/server/tools/upgrade/Upgrade.java
+++ b/opends/src/server/org/opends/server/tools/upgrade/Upgrade.java
@@ -75,18 +75,18 @@
   /**
    * The success exit code value.
    */
-  public static final int EXIT_CODE_SUCCESS = 0;
+  static final int EXIT_CODE_SUCCESS = 0;
 
   /**
    * The error exit code value.
    */
-  public static final int EXIT_CODE_ERROR = 1;
+  static final int EXIT_CODE_ERROR = 1;
 
   /**
    * The exit code value that will be used if upgrade requires manual
    * intervention.
    */
-  public static final int EXIT_CODE_MANUAL_INTERVENTION = 2;
+  static final int EXIT_CODE_MANUAL_INTERVENTION = 2;
 
   /**
    * Developers should register upgrade tasks below.
@@ -322,7 +322,7 @@
    * @return A list containing all the tasks which are required in order to
    *         upgrade from {@code fromVersion} to {@code toVersion}.
    */
-  public static List<UpgradeTask> getUpgradeTasks(
+ private static List<UpgradeTask> getUpgradeTasks(
       final BuildVersion fromVersion, final BuildVersion toVersion)
   {
     final List<UpgradeTask> tasks = new LinkedList<UpgradeTask>();

--
Gitblit v1.10.0