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

Jean-Noel Rouvignac
16.57.2015 a41662c1136b2bb4a4198df89e0e87d2be3ef099
opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/GuiApplication.java
@@ -429,7 +429,7 @@
    String authType = ce.getAuthType();
    String host = ce.getHost();
    if ((chain != null) && (authType != null) && (host != null))
    if (chain != null && authType != null && host != null)
    {
      logger.info(LocalizableMessage.raw("Accepting certificate presented by host "+host));
      getTrustManager().acceptCertificate(chain, authType, host);
@@ -492,13 +492,13 @@
    int lastPercentage = -1;
    WebStartDownloader.Status lastStatus =
      WebStartDownloader.Status.DOWNLOADING;
    while (!loader.isFinished() && (loader.getException() == null))
    while (!loader.isFinished() && loader.getException() == null)
    {
      checkAbort();
      // Pool until is over
      int perc = loader.getDownloadPercentage();
      WebStartDownloader.Status downloadStatus = loader.getStatus();
      if ((perc != lastPercentage) || (downloadStatus != lastStatus))
      if (perc != lastPercentage || downloadStatus != lastStatus)
      {
        lastPercentage = perc;
        int ratio = (perc * maxRatio) / 100;