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

Nicolas Capponi
24.43.2014 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf
opendj3-server-dev/src/guitools/org/opends/guitools/controlpanel/ui/WindowsServicePanel.java
@@ -22,6 +22,7 @@
 *
 *
 *      Copyright 2008-2009 Sun Microsystems, Inc.
 *      Portions Copyright 2014 ForgeRock AS
 */
package org.opends.guitools.controlpanel.ui;
@@ -49,7 +50,7 @@
import org.opends.guitools.controlpanel.event.ConfigurationChangeEvent;
import org.opends.guitools.controlpanel.task.Task;
import org.opends.guitools.controlpanel.util.Utilities;
import org.opends.messages.Message;
import org.forgerock.i18n.LocalizableMessage;
import org.opends.server.tools.ConfigureWindowsService;
/**
@@ -81,7 +82,7 @@
  /**
   * {@inheritDoc}
   */
  public Message getTitle()
  public LocalizableMessage getTitle()
  {
    return INFO_CTRL_PANEL_WINDOWS_SERVICE_TITLE.get();
  }
@@ -239,7 +240,7 @@
  private void updateWindowsService()
  {
    LinkedHashSet<Message> errors = new LinkedHashSet<Message>();
    LinkedHashSet<LocalizableMessage> errors = new LinkedHashSet<LocalizableMessage>();
    ProgressDialog progressDialog = new ProgressDialog(
        Utilities.createFrame(), Utilities.getParentDialog(this), getTitle(),
        getInfo());
@@ -322,7 +323,7 @@
    /**
     * {@inheritDoc}
     */
    public Message getTaskDescription()
    public LocalizableMessage getTaskDescription()
    {
      if (enableService)
      {
@@ -338,7 +339,7 @@
     * {@inheritDoc}
     */
    public boolean canLaunch(Task taskToBeLaunched,
        Collection<Message> incompatibilityReasons)
        Collection<LocalizableMessage> incompatibilityReasons)
    {
      boolean canLaunch = true;
      if (state == State.RUNNING && runningOnSameServer(taskToBeLaunched))