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/NewIndexPanel.java
@@ -106,17 +106,13 @@
    createLayout();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public LocalizableMessage getTitle()
  {
    return INFO_CTRL_PANEL_NEW_INDEX_TITLE.get();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public Component getPreferredFocusComponent()
  {
    return attributes;
@@ -131,9 +127,7 @@
    backendName.setText(backend.getBackendID());
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void configurationChanged(ConfigurationChangeEvent ev)
  {
    final ServerDescriptor desc = ev.getNewDescriptor();
@@ -273,9 +267,7 @@
    }
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void okClicked()
  {
    setPrimaryValid(lAttribute);
@@ -408,34 +400,26 @@
      indexTypes = getTypes();
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public Type getType()
    {
      return Type.NEW_INDEX;
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public Set<String> getBackends()
    {
      return backendSet;
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public LocalizableMessage getTaskDescription()
    {
      return INFO_CTRL_PANEL_NEW_INDEX_TASK_DESCRIPTION.get(
          attributeName, backendName.getText());
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public boolean canLaunch(Task taskToBeLaunched,
        Collection<LocalizableMessage> incompatibilityReasons)
    {
@@ -480,9 +464,7 @@
        {
          SwingUtilities.invokeLater(new Runnable()
          {
            /**
             * {@inheritDoc}
             */
            /** {@inheritDoc} */
            public void run()
            {
              List<String> args = getObfuscatedCommandLineArguments(
@@ -495,9 +477,7 @@
        }
        SwingUtilities.invokeLater(new Runnable()
        {
          /**
           * {@inheritDoc}
           */
          /** {@inheritDoc} */
          public void run()
          {
            getProgressDialog().appendProgressHtml(
@@ -519,9 +499,7 @@
        }
        SwingUtilities.invokeLater(new Runnable()
        {
          /**
           * {@inheritDoc}
           */
          /** {@inheritDoc} */
          public void run()
          {
            getProgressDialog().appendProgressHtml(
@@ -659,17 +637,13 @@
      }
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    protected String getCommandLinePath()
    {
      return null;
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    protected ArrayList<String> getCommandLineArguments()
    {
      return new ArrayList<String>();
@@ -687,9 +661,7 @@
      }
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public void runTask()
    {
      state = State.RUNNING;
@@ -720,9 +692,7 @@
      }
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public void postOperation()
    {
      if ((lastException == null) && (state == State.FINISHED_SUCCESSFULLY) &&