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

jvergara
16.16.2007 b7e51e19c9bc9a1623feb605633b246ea1b929c1
opends/src/quicksetup/org/opends/quicksetup/Launcher.java
@@ -37,7 +37,6 @@
import org.opends.quicksetup.util.Utils;
import java.io.PrintStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -258,7 +257,7 @@
     * problems with the display environment.
     */
    PrintStream printStream = System.err;
    System.setErr(new EmptyPrintStream());
    System.setErr(Utils.getEmptyPrintStream());
    t.start();
    try
    {
@@ -415,28 +414,4 @@
      }
    }
  }
  /**
   * This class is used to avoid displaying the error message related to display
   * problems that we might have when trying to display the SplashWindow.
   *
   */
  private class EmptyPrintStream extends PrintStream {
    /**
     * Default constructor.
     *
     */
    public EmptyPrintStream()
    {
      super(new ByteArrayOutputStream(), true);
    }
    /**
     * {@inheritDoc}
     */
    public void println(String msg)
    {
    }
  }
}