From 2e08d2c0e9bede644be993ddaa28157c9f156c10 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Tue, 07 May 2013 13:50:59 +0000
Subject: [PATCH] svn merge https://svn.forgerock.org/opendj/trunk/opends@8851 https://svn.forgerock.org/opendj/branches/native-packaging@8851 .
---
opends/src/quicksetup/org/opends/quicksetup/Status.java | 41 +----------------------------------------
1 files changed, 1 insertions(+), 40 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/Status.java b/opends/src/quicksetup/org/opends/quicksetup/Status.java
index daa03a0..d1549bb 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/Status.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/Status.java
@@ -23,7 +23,7 @@
*
*
* Copyright 2006-2008 Sun Microsystems, Inc.
- * Portions copyright 2012 ForgeRock AS.
+ * Portions copyright 2012-2013 ForgeRock AS.
*/
package org.opends.quicksetup;
@@ -52,28 +52,6 @@
}
/**
- * Indicates whether there is something installed or not.
- *
- * @return <CODE>true</CODE> if there is something installed under the
- * binaries that we are running, or <CODE>false</CODE> if not.
- */
- public boolean isInstalled() {
- File rootDirectory = installation.getRootDirectory();
- return rootDirectory == null || !rootDirectory.exists() ||
- !rootDirectory.isDirectory();
- }
-
- /**
- * Determines whether or not the schema has been modified for this
- * installation.
- * @return boolean where true means the schema has been modified
- */
- public boolean schemaHasBeenModified() {
- File f = installation.getSchemaConcatFile();
- return f.exists();
- }
-
- /**
* Returns if the server is running on the given path.
* NOTE: this method is to be called only when the OpenDS.jar class has
* already been loaded as it uses classes in that jar.
@@ -117,21 +95,4 @@
}
return isServerRunning;
}
-
- /**
- * Indicates whether there are database files under this installation.
- *
- * @return <CODE>true</CODE> if there are database files, or
- * <CODE>false</CODE> if not.
- */
- public boolean dbFilesExist() {
- boolean dbFilesExist = false;
- File dbDir = installation.getDatabasesDirectory();
- File[] children = dbDir.listFiles();
- if ((children != null) && (children.length > 0)) {
- dbFilesExist = true;
- }
- return dbFilesExist;
- }
-
}
--
Gitblit v1.10.0