mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
30.12.2007 aacc0fe20e603a488176d90e50aa0b2327cc1ef8
opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java
@@ -119,8 +119,6 @@
                                  Message defaultValue,
                                  Message[] validValues) {
    printLineBreak();
    boolean isValid = false;
    Message response = null;
    while (!isValid)
@@ -169,7 +167,6 @@
   * @return  The string value read from the user.
   */
  protected String promptForString(Message prompt, String defaultValue) {
    printLineBreak();
    String wrappedPrompt = StaticUtils.wrapText(prompt,
            Utils.getCommandLineMaxLineWidth());
@@ -212,7 +209,6 @@
  protected String promptForPassword(Message msg)
  {
    String pwd;
    printLineBreak();
    String wrappedPrompt = StaticUtils.wrapText(msg,
        Utils.getCommandLineMaxLineWidth());
    out.print(wrappedPrompt+" ");
@@ -228,6 +224,11 @@
      {
        pwd = new String(pwChars);
      }
      // Sometimes the backspace trick creates problems in the terminal and
      // out.println() does not write a new line.  printing a space fixes the
      // problem
      out.print(" ");
      out.flush();
    }
    catch (Throwable t)
    {
@@ -698,7 +699,6 @@
    }
    else
    {
      err.println();
      Message msg = Utils.getThrowableMsg(INFO_ERROR_CONNECTING_TO_LOCAL.get(),
          t);
      printErrorMessage(msg);
@@ -767,7 +767,6 @@
    }
    if (displayErrorMessage)
    {
      printLineBreak();
      printErrorMessage(msg);
    }
    Message[] validValues = {