mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
07.35.2008 25addae6fcca9b8af089a784edc8ff02abe46439
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/MigrationManager.java
@@ -75,6 +75,7 @@
  private Installation installation;
  private File backupDir;
  private UserInteraction ui;
  private boolean isSchemaCustomized;
  /**
   * Creates a new parameterized instance.
@@ -111,6 +112,7 @@
   *         the diff operation
   */
  public void calculateSchemaCustomizations() throws ApplicationException {
    isSchemaCustomized = false;
    if (installation.getStatus().schemaHasBeenModified()) {
      LOG.log(Level.INFO, "Schema contains customizations that will " +
              "be migrated");
@@ -118,6 +120,7 @@
        ldifDiff(installation.getBaseSchemaFile(),
                installation.getSchemaConcatFile(),
                getCustomSchemaDiffFile());
        isSchemaCustomized = true;
      } catch (ApplicationException ae) {
        throw ae;
      } catch (Exception e) {
@@ -268,7 +271,7 @@
   * @return boolean where true indicates schema customization
   */
  public boolean isSchemaCustomized() {
    return installation.getStatus().schemaHasBeenModified();
    return isSchemaCustomized;
  }
  /**