From 49c8560679d3e0217f34ed017d2382ec43e4f300 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 05 Jul 2016 12:57:45 +0000
Subject: [PATCH] Inlined useless methods from InstallerHelper

---
 opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/InstallerHelper.java |   56 --------------------------------------------------------
 1 files changed, 0 insertions(+), 56 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/InstallerHelper.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/InstallerHelper.java
index 54c3c2b..e880fb4 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/InstallerHelper.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/InstallerHelper.java
@@ -75,7 +75,6 @@
 import org.opends.quicksetup.UserData;
 import org.opends.quicksetup.util.OutputReader;
 import org.opends.quicksetup.util.Utils;
-import org.opends.server.backends.task.TaskState;
 import org.opends.server.core.DirectoryServer;
 import org.opends.server.tools.ConfigureDS;
 import org.opends.server.tools.ConfigureWindowsService;
@@ -687,61 +686,6 @@
   }
 
   /**
-   * For the given state provided by a Task tells if the task is done or not.
-   *
-   * @param sState
-   *          the String representing the task state.
-   * @return <CODE>true</CODE> if the task is done and <CODE>false</CODE>
-   *         otherwise.
-   */
-  public boolean isDone(String sState)
-  {
-    return TaskState.isDone(TaskState.fromString(sState));
-  }
-
-  /**
-   * For the given state provided by a Task tells if the task is successful or
-   * not.
-   *
-   * @param sState
-   *          the String representing the task state.
-   * @return <CODE>true</CODE> if the task is successful and <CODE>false</CODE>
-   *         otherwise.
-   */
-  public boolean isSuccessful(String sState)
-  {
-    return TaskState.isSuccessful(TaskState.fromString(sState));
-  }
-
-  /**
-   * For the given state provided by a Task tells if the task is complete with
-   * errors or not.
-   *
-   * @param sState
-   *          the String representing the task state.
-   * @return <CODE>true</CODE> if the task is complete with errors and
-   *         <CODE>false</CODE> otherwise.
-   */
-  public boolean isCompletedWithErrors(String sState)
-  {
-    return TaskState.COMPLETED_WITH_ERRORS == TaskState.fromString(sState);
-  }
-
-  /**
-   * For the given state provided by a Task tells if the task is stopped by
-   * error or not.
-   *
-   * @param sState
-   *          the String representing the task state.
-   * @return <CODE>true</CODE> if the task is stopped by error and
-   *         <CODE>false</CODE> otherwise.
-   */
-  public boolean isStoppedByError(String sState)
-  {
-    return TaskState.STOPPED_BY_ERROR == TaskState.fromString(sState);
-  }
-
-  /**
    * Tells whether the provided log message corresponds to a peers not found
    * error during the initialization of a replica or not.
    *

--
Gitblit v1.10.0