From 3d2f59e7f9a73db8743019beff4d3b69849f1fbc Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 12 Mar 2012 14:38:08 +0000
Subject: [PATCH] Fix OPENDJ-446: setup - improve method of checking whether config has been modified

---
 opends/src/quicksetup/org/opends/quicksetup/Status.java |   17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/Status.java b/opends/src/quicksetup/org/opends/quicksetup/Status.java
index 626a3f2..daa03a0 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/Status.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/Status.java
@@ -23,6 +23,7 @@
  *
  *
  *      Copyright 2006-2008 Sun Microsystems, Inc.
+ *      Portions copyright 2012 ForgeRock AS.
  */
 
 package org.opends.quicksetup;
@@ -33,7 +34,6 @@
 import org.opends.quicksetup.util.Utils;
 
 import java.io.File;
-import java.io.IOException;
 
 /**
  * This class represents the current state of a particular installation.
@@ -64,21 +64,6 @@
   }
 
   /**
-   * Determines whether or not the configuration has been modified for this
-   * installation.
-   * @return boolean where true means the configuration has been modified
-   */
-  public boolean configurationHasBeenModified() {
-    boolean mod = false;
-    try {
-      mod = installation.getCurrentConfiguration().hasBeenModified();
-    } catch (IOException e) {
-      // do nothing for now;
-    }
-    return mod;
-  }
-
-  /**
    * Determines whether or not the schema has been modified for this
    * installation.
    * @return boolean where true means the schema has been modified

--
Gitblit v1.10.0