From e39a001d3ba7f04212d7eb9e1e7cf5b57e6e98f7 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.
---
opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/LicenseFile.java | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/LicenseFile.java b/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/LicenseFile.java
index 6a4fdf8..ffc7c9c 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/LicenseFile.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/LicenseFile.java
@@ -40,7 +40,7 @@
* NOTE: the license file location must be kept in sync with build.xml and
* org.opends.quicksetup.LicenseFile.
*/
-public class LicenseFile
+class LicenseFile
{
/**
* Get the directory in which legal files are stored.
@@ -132,7 +132,7 @@
* the Legal directory in the top level installation directory
* <CODE>false</CODE> otherwise.
*/
- static public boolean exists()
+ static boolean exists()
{
return getFile().exists();
}
@@ -142,7 +142,7 @@
*
* @return the textual contents of the license file.
*/
- static public String getText()
+ static String getText()
{
FileReader reader;
@@ -181,7 +181,7 @@
* @return <CODE>true</CODE> if the license has been accepted by the user
* <CODE>false</CODE> otherwise.
*/
- static public boolean getApproval()
+ static boolean getApproval()
{
return approved;
}
@@ -192,7 +192,7 @@
* @param p_approved
* the license approval status
*/
- static public void setApproval(boolean p_approved)
+ static void setApproval(boolean p_approved)
{
approved = p_approved;
}
@@ -200,7 +200,7 @@
/**
* Create a file which indicates that the license has been approved.
*/
- static public void createFileLicenseApproved()
+ static void createFileLicenseApproved()
{
if (getApproval())
{
@@ -221,7 +221,7 @@
* @return <CODE>true</CODE> if the license had already been approved by the
* user <CODE>false</CODE> otherwise.
*/
- static public boolean isAlreadyApproved()
+ static boolean isAlreadyApproved()
{
File f =
new File(getInstanceLegalDirectory() + File.separatorChar
--
Gitblit v1.10.0