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/AddToGroupPanel.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2008-2009 Sun Microsystems, Inc.
 *      Portions Copyright 2013-2014 ForgeRock AS.
 *      Portions Copyright 2013-2015 ForgeRock AS.
 */
package org.opends.guitools.controlpanel.ui;
@@ -123,25 +123,19 @@
    packParentDialog();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public Component getPreferredFocusComponent()
  {
    return groups;
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void okClicked()
  {
    final ArrayList<LocalizableMessage> errors = new ArrayList<LocalizableMessage>();
    BackgroundTask<Void> worker = new BackgroundTask<Void>()
    {
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public Void processBackgroundTask()
      {
        try
@@ -154,9 +148,7 @@
        updateErrors(errors);
        return null;
      }
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public void backgroundTaskCompleted(Void returnValue, Throwable t)
      {
        if (t != null)
@@ -175,17 +167,13 @@
    worker.startBackgroundTask();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public LocalizableMessage getTitle()
  {
    return INFO_CTRL_PANEL_ADD_TO_GROUP_TITLE.get();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void configurationChanged(ConfigurationChangeEvent ev)
  {
  }
@@ -240,9 +228,7 @@
    add(browse, gbc);
    browse.addActionListener(new ActionListener()
    {
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public void actionPerformed(ActionEvent ev)
      {
        browseGroupsClicked();
@@ -251,37 +237,27 @@
    DropTargetListener dropTargetlistener = new DropTargetListener()
    {
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public void dragEnter(DropTargetDragEvent e)
      {
      }
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public void dragExit(DropTargetEvent e)
      {
      }
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public void dragOver(DropTargetDragEvent e)
      {
      }
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public void dropActionChanged(DropTargetDragEvent e)
      {
      }
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public void drop(DropTargetDropEvent e)
      {
        try {
@@ -365,9 +341,7 @@
  {
    SwingUtilities.invokeLater(new Runnable()
    {
      /**
       * {@inheritDoc}
       */
      /** {@inheritDoc} */
      public void run()
      {
        setPrimaryValid(lGroups);
@@ -416,9 +390,7 @@
    {
      SwingUtilities.invokeLater(new Runnable()
      {
        /**
         * {@inheritDoc}
         */
        /** {@inheritDoc} */
        public void run()
        {
          setPrimaryInvalid(lGroups);