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

Valery Kharseko
6 hours ago 0138b5924ff14ef709398bf878dbb9bf2a0b7c33
opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/QuickSetup.java
@@ -27,6 +27,7 @@
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.function.Supplier;
import java.util.logging.Handler;
import javax.swing.SwingUtilities;
@@ -91,12 +92,14 @@
   * blocked.
   *
   * @param tempLogFile
   *          temporary log file where messages will be logged.
   *          supplies the temporary log file where messages will be logged. The wizard does
   *          not create it: the application does, when it starts the operation, so that a
   *          wizard the user quits leaves no log behind (issue #1030).
   * @param args
   *          for the moment this parameter is not used but we keep it in order
   *          to (in case of need) pass parameters through the command line.
   */
  public void initialize(final TempLogFile tempLogFile, String[] args)
  public void initialize(final Supplier<TempLogFile> tempLogFile, String[] args)
  {
    ProgressMessageFormatter formatter = new HtmlProgressMessageFormatter();