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

Jean-Noël Rouvignac
19.03.2016 17ec2cfa9d04e6942a694ab5c3778ac26f17bb35
opendj-server-legacy/src/main/java/org/opends/server/tasks/ImportTask.java
@@ -85,7 +85,6 @@
    argDisplayMap.put(ATTR_IMPORT_CLEAR_BACKEND, INFO_IMPORT_ARG_CLEAR_BACKEND.get());
  }
  private boolean isCompressed;
  private boolean isEncrypted;
  private boolean overwrite;
@@ -134,7 +133,6 @@
      }
    }
    Entry taskEntry = getTaskEntry();
    AttributeType typeLdifFile = getAttributeType(ATTR_IMPORT_LDIF_FILE);
@@ -423,7 +421,6 @@
      }
    }
    // Get the backend into which the LDIF should be imported.
    Backend<?> backend = null;
    HashSet<DN> defaultIncludeBranches;
@@ -645,7 +642,6 @@
      return TaskState.STOPPED_BY_ERROR;
    }
    try
    {
      // Acquire an exclusive lock for the backend.
@@ -667,7 +663,6 @@
        return TaskState.STOPPED_BY_ERROR;
      }
      // Launch the import.
      try
      {
@@ -718,7 +713,6 @@
          logger.warn(WARN_LDIFIMPORT_CANNOT_UNLOCK_BACKEND, backend.getBackendID(), getExceptionMessage(e));
          return TaskState.COMPLETED_WITH_ERRORS;
        }
      }
    }
    finally
@@ -742,7 +736,6 @@
      DirectoryServer.notifyImportEnded(backend, importConfig, true);
    }
    // Clean up after the import by closing the import config.
    importConfig.close();
    return getFinalTaskState();