From 14008013116d3a95440c6d33c1509ed1bb8e6bf3 Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Thu, 11 Feb 2016 14:17:04 +0000
Subject: [PATCH] OPENDJSDK-42 Code cleanup

---
 opendj-server-legacy/src/main/java/org/opends/server/tools/WaitForFileDelete.java |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/tools/WaitForFileDelete.java b/opendj-server-legacy/src/main/java/org/opends/server/tools/WaitForFileDelete.java
index 3148106..50d0d59 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/tools/WaitForFileDelete.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/tools/WaitForFileDelete.java
@@ -22,7 +22,7 @@
  *
  *
  *      Copyright 2006-2009 Sun Microsystems, Inc.
- *      Portions Copyright 2013-2015 ForgeRock AS
+ *      Portions Copyright 2013-2016 ForgeRock AS
  */
 package org.opends.server.tools;
 
@@ -166,13 +166,12 @@
   private int mainWait(String[] args)
   {
     // Create all of the command-line arguments for this program.
-    BooleanArgument showUsage      = null;
-    IntegerArgument timeout        = null;
-    StringArgument  logFilePath    = null;
-    StringArgument  targetFilePath = null;
-    StringArgument  outputFilePath = null;
-    BooleanArgument useLastKnownGoodConfig = null;
-    BooleanArgument quietMode              = null;
+    final BooleanArgument showUsage;
+    final IntegerArgument timeout;
+    final StringArgument logFilePath;
+    final StringArgument targetFilePath;
+    final StringArgument outputFilePath;
+    final BooleanArgument quietMode;
 
     LocalizableMessage toolDescription = INFO_WAIT4DEL_TOOL_DESCRIPTION.get();
     ArgumentParser argParser = new ArgumentParser(CLASS_NAME, toolDescription,
@@ -218,8 +217,7 @@
                                INFO_DSCORE_DESCRIPTION_LASTKNOWNGOODCFG.get());
       argParser.addArgument(useLastKnownGoodConfig);
 
-      // Not used in this class, but required by the start-ds script
-      // (see issue #3814)
+      // Not used in this class, but required by the start-ds script (see issue #3814)
       quietMode = CommonArguments.getQuiet();
       argParser.addArgument(quietMode);
 

--
Gitblit v1.10.0