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

Jean-Noel Rouvignac
23.44.2015 6638c2755466ca601450700d5a39f390f23d4781
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/WindowsServicePanel.java
@@ -79,9 +79,7 @@
    createLayout();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public LocalizableMessage getTitle()
  {
    return INFO_CTRL_PANEL_WINDOWS_SERVICE_TITLE.get();
@@ -142,9 +140,7 @@
    ActionListener listener = new ActionListener()
    {
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public void actionPerformed(ActionEvent ev)
      {
        updateWindowsService();
@@ -166,17 +162,13 @@
    addBottomGlue(gbc);
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public GenericDialog.ButtonType getButtonType()
  {
    return GenericDialog.ButtonType.CLOSE;
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public Component getPreferredFocusComponent()
  {
    if (!isWindowsServiceEnabled)
@@ -189,9 +181,7 @@
    }
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void configurationChanged(ConfigurationChangeEvent ev)
  {
    boolean previousValue = isWindowsServiceEnabled;
@@ -204,9 +194,7 @@
      previousLocal = isLocal;
      SwingUtilities.invokeLater(new Runnable()
      {
        /**
         * {@inheritDoc}
         */
        /** {@inheritDoc} */
        public void run()
        {
          lState.setText(isWindowsServiceEnabled ?
@@ -230,9 +218,7 @@
    }
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void okClicked()
  {
    // NO ok button
@@ -305,9 +291,7 @@
      backendSet = new HashSet<String>();
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public Type getType()
    {
      if (enableService)
@@ -320,9 +304,7 @@
      }
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public LocalizableMessage getTaskDescription()
    {
      if (enableService)
@@ -335,9 +317,7 @@
      }
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public boolean canLaunch(Task taskToBeLaunched,
        Collection<LocalizableMessage> incompatibilityReasons)
    {
@@ -353,9 +333,7 @@
      return true;
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public void runTask()
    {
      state = State.RUNNING;
@@ -399,17 +377,13 @@
      }
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public Set<String> getBackends()
    {
      return backendSet;
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    protected ArrayList<String> getCommandLineArguments()
    {
      ArrayList<String> args = new ArrayList<String>();
@@ -426,12 +400,10 @@
      return args;
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    protected String getCommandLinePath()
    {
      return getCommandLinePath("windows-service");
    }
  };
  }
}