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

jvergara
24.10.2007 a67d0ddf65e2d0c9975a801b5f3e58434663138b
Fix for issue 2510 (Initialize progress should display that 100 % entries are processed).

When the initialize is finished (successful or not) print in the output the message we calculated if it has not been displayed yet.
1 files modified
10 ■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java 10 ●●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
@@ -4069,8 +4069,7 @@
          }
          if (displayProgress)
          {
            if (!msg.equals(lastDisplayedMsg) &&
                ((currentTime - minRefreshPeriod) > lastTimeMsgDisplayed) &&
            if (((currentTime - minRefreshPeriod) > lastTimeMsgDisplayed) &&
                !msg.equals(lastDisplayedMsg))
            {
              notifyListeners(getFormattedProgress(msg));
@@ -4097,6 +4096,13 @@
        {
          isOver = true;
          Message errorMsg;
          if (displayProgress && (msg != null) && !msg.equals(lastDisplayedMsg))
          {
            notifyListeners(getFormattedProgress(msg));
            lastDisplayedMsg = msg;
            notifyListeners(getLineBreak());
          }
          if (lastLogMsg == null)
          {
            errorMsg = INFO_ERROR_DURING_INITIALIZATION_NO_LOG.get(