From 17ec2cfa9d04e6942a694ab5c3778ac26f17bb35 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 19 Apr 2016 12:59:39 +0000
Subject: [PATCH] code cleanup
---
opendj-server-legacy/src/main/java/org/opends/server/tasks/ImportTask.java | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/tasks/ImportTask.java b/opendj-server-legacy/src/main/java/org/opends/server/tasks/ImportTask.java
index e8b9fb1..e46a679 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/tasks/ImportTask.java
+++ b/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();
--
Gitblit v1.10.0