From 46d5d913741f79df830f84b1b9be9d25577ae319 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

---
 opends/src/server/org/opends/server/tools/upgrade/UpgradeTasks.java |    2 +-
 opends/src/server/org/opends/server/tools/upgrade/UpgradeUtils.java |    7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/upgrade/UpgradeTasks.java b/opends/src/server/org/opends/server/tools/upgrade/UpgradeTasks.java
index 3664fc7..9181072 100644
--- a/opends/src/server/org/opends/server/tools/upgrade/UpgradeTasks.java
+++ b/opends/src/server/org/opends/server/tools/upgrade/UpgradeTasks.java
@@ -60,7 +60,7 @@
   static int countErrors = 0;
 
   /**
-   * Logger for the upgrade
+   * Logger for the upgrade.
    */
   static private final Logger LOG = Logger
       .getLogger(UpgradeCli.class.getName());
diff --git a/opends/src/server/org/opends/server/tools/upgrade/UpgradeUtils.java b/opends/src/server/org/opends/server/tools/upgrade/UpgradeUtils.java
index 2d23bf6..b03c56c 100644
--- a/opends/src/server/org/opends/server/tools/upgrade/UpgradeUtils.java
+++ b/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