From e8c3ae6a23cc78bf01cb7b462089cc734a1c1d89 Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Mon, 23 Mar 2015 14:33:24 +0000
Subject: [PATCH] OPENDJ-1714: Code cleanup
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendImpl.java | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendImpl.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendImpl.java
index be79802..7b57683 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendImpl.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendImpl.java
@@ -641,17 +641,13 @@
/** {@inheritDoc} */
@Override
- public LDIFImportResult importLDIF(LDIFImportConfig importConfig)
- throws DirectoryException
+ public LDIFImportResult importLDIF(LDIFImportConfig importConfig) throws DirectoryException
{
- /*
- * If the rootContainer is open, the backend is initialized by something
- * else. We can't do import while the backend is online.
- */
+ // If the rootContainer is open, the backend is initialized by something else.
+ // We can't do import while the backend is online.
if (rootContainer != null)
{
- throw new DirectoryException(getServerErrorResultCode(),
- ERR_JEB_IMPORT_BACKEND_ONLINE.get());
+ throw new DirectoryException(getServerErrorResultCode(), ERR_JEB_IMPORT_BACKEND_ONLINE.get());
}
return new RootContainer(this, cfg).importLDIF(importConfig);
}
--
Gitblit v1.10.0