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

Gaetan Boismal
15.42.2015 5ff46475f706645bc4767faa2efcf295564d8f81
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/ControlPanelInfo.java
@@ -464,9 +464,7 @@
      boolean windowsServiceEnabled = false;
      if (isWindows())
      {
        int result = ConfigureWindowsService.serviceState(null, null);
        windowsServiceEnabled =
          result == ConfigureWindowsService.SERVICE_STATE_ENABLED;
        windowsServiceEnabled = ConfigureWindowsService.serviceState() == ConfigureWindowsService.SERVICE_STATE_ENABLED;
      }
      desc.setWindowsServiceEnabled(windowsServiceEnabled);
    }