From 4a355c7cff97d06d2f51695eed0898085b06bb1c Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Tue, 13 Aug 2013 10:47:25 +0000
Subject: [PATCH] Fix checkstyle
---
opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/UpgradeUtils.java | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/UpgradeUtils.java b/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/UpgradeUtils.java
index 2d23bf6..b03c56c 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/UpgradeUtils.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/UpgradeUtils.java
@@ -53,8 +53,7 @@
import static org.opends.messages.ToolMessages.ERR_UPGRADE_UNKNOWN_OC_ATT;
import static org.opends.server.tools.upgrade.FileManager.deleteRecursively;
import static org.opends.server.tools.upgrade.FileManager.rename;
-import static org.opends.server.tools.upgrade.Installation.CURRENT_CONFIG_FILE_NAME;
-import static org.opends.server.tools.upgrade.Installation.SVC_SCRIPT_FILE_NAME;
+import static org.opends.server.tools.upgrade.Installation.*;
import static org.opends.server.util.ServerConstants.EOL;
/**
@@ -683,9 +682,9 @@
* The folder containing the schema files.
* @param revision
* The revision number of the current binary version.
- * @throws IOException
+ * @throws Exception
* If we cannot read the files contained in the folder where the
- * schema files are supposed to be.
+ * schema files are supposed to be, or the file has errors.
*/
static void updateConfigUpgradeSchemaFile(final File folder,
final String revision) throws Exception
--
Gitblit v1.10.0