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

jvergara
01.44.2009 12b592a532896d1683566163bf385744856710d8
Fix a problem calculating the ratios on Windows when the server is not configured to run as a service.
2 files modified
4 ■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java 2 ●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java 2 ●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/offline/OfflineInstaller.java
@@ -487,7 +487,7 @@
      }
    }
    if (Utils.isWindows())
    if (Utils.isWindows() && getUserData().getEnableWindowsService())
    {
      totalTime += hmTime.get(InstallProgressStep.ENABLING_WINDOWS_SERVICE);
      steps.add(InstallProgressStep.ENABLING_WINDOWS_SERVICE);
opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartInstaller.java
@@ -411,7 +411,7 @@
      }
    }
    if (Utils.isWindows())
    if (Utils.isWindows() && getUserData().getEnableWindowsService())
    {
        totalTime += hmTime.get(InstallProgressStep.ENABLING_WINDOWS_SERVICE);
        steps.add(InstallProgressStep.ENABLING_WINDOWS_SERVICE);