From 3e27f6307da5f3069ae3a557767f1fc2b37414b1 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Tue, 08 Mar 2016 21:58:34 +0000
Subject: [PATCH] Minor code cleanup: remove unused method and variable

---
 opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/JavaArgumentsDialog.java |   22 +---------------------
 1 files changed, 1 insertions(+), 21 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/JavaArgumentsDialog.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/JavaArgumentsDialog.java
index b4cf635..a2b7b6c 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/JavaArgumentsDialog.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/JavaArgumentsDialog.java
@@ -12,7 +12,7 @@
  * information: "Portions Copyright [year] [name of copyright owner]".
  *
  * Copyright 2010 Sun Microsystems, Inc.
- * Portions Copyright 2011-2015 ForgeRock AS.
+ * Portions Copyright 2011-2016 ForgeRock AS.
  */
 
 package org.opends.quicksetup.installer.ui;
@@ -600,24 +600,6 @@
   }
 
   /**
-   * Displays a confirmation dialog and returns <CODE>true</CODE> if the user
-   * accepts the message displayed in the dialog and <CODE>false</CODE>
-   * otherwise.
-   *
-   * @param msg
-   *          the error message.
-   * @param title
-   *          the title for the dialog.
-   * @return <CODE>true</CODE> if the user accepts the message displayed in the
-   * dialog and <CODE>false</CODE> otherwise.
-   */
-  private boolean displayConfirmationDialog(LocalizableMessage msg, LocalizableMessage title)
-  {
-    toFront();
-    return Utilities.displayConfirmation(this, msg, title);
-  }
-
-  /**
    * Updates the widgets on the dialog with the contents of the securityOptions
    * object.
    *
@@ -869,13 +851,11 @@
   private void checkOtherArguments(Collection<LocalizableMessage> errorMsgs)
   {
     setValidLater(lOtherArguments, true);
-    ArrayList<JLabel> ls = new ArrayList<>();
     StringBuilder sb = new StringBuilder();
 
     String[] otherArgs = getOtherArguments();
     if (otherArgs.length > 0)
     {
-      ls.add(lOtherArguments);
       for (String arg : otherArgs)
       {
         if (sb.length() > 0)

--
Gitblit v1.10.0