From 6638c2755466ca601450700d5a39f390f23d4781 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 23 Mar 2015 14:44:05 +0000
Subject: [PATCH] AutoRefactored javadocs

---
 opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/GenericDialog.java |   56 ++++++++++++--------------------------------------------
 1 files changed, 12 insertions(+), 44 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/GenericDialog.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/GenericDialog.java
index 0942f56..1a4a8f7 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/GenericDialog.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/GenericDialog.java
@@ -67,7 +67,6 @@
 
 /**
  * The generic dialog of the Control Panel.  It contains a StatusGenericPanel.
- *
  */
 public class GenericDialog extends JDialog
 {
@@ -76,41 +75,23 @@
     ColorAndFontConstants.greyBackground;
   private JButton okButton;
 
-  /**
-   * The close button.
-   */
+  /** The close button. */
   protected JButton closeButton;
   private JButton cancelButton;
-  //private JPanel contentPanel;
-  /**
-   * The panel contained in the dialog.
-   */
+  /** The panel contained in the dialog. */
   protected StatusGenericPanel panel;
-  //private ProgressPanel progressPanel;
-  //private boolean displayInputInNextVisible;
   private Component lastComponentWithFocus;
 
-  /**
-   * The different combinations of buttons that the dialog can have.
-   *
-   */
+  /** The different combinations of buttons that the dialog can have. */
   public enum ButtonType
   {
-    /**
-     * The dialog contains OK and CANCEL buttons.
-     */
+    /** The dialog contains OK and CANCEL buttons. */
     OK_CANCEL,
-    /**
-     * The dialog contains a OK button.
-     */
+    /** The dialog contains a OK button. */
     OK,
-    /**
-     * The dialog contains a CLOSE button.
-     */
+    /** The dialog contains a CLOSE button. */
     CLOSE,
-    /**
-     * The dialog has no buttons.
-     */
+    /** The dialog has no buttons. */
     NO_BUTTON
   };
 
@@ -160,9 +141,7 @@
     KeyStroke stroke = KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0);
     ActionListener actionListener = new ActionListener()
     {
-      /**
-       * {@inheritDoc}
-       */
+      /** {@inheritDoc} */
       public void actionPerformed(ActionEvent ev)
       {
         setVisible(false);
@@ -173,9 +152,7 @@
 
     FocusListener focusListener = new FocusAdapter()
     {
-      /**
-       * {@inheritDoc}
-       */
+      /** {@inheritDoc} */
       public void focusGained(FocusEvent ev)
       {
         lastComponentWithFocus = ev.getComponent();
@@ -184,9 +161,7 @@
     addFocusListener(focusListener, panel);
 
     addWindowListener(new WindowAdapter() {
-      /**
-       * {@inheritDoc}
-       */
+      /** {@inheritDoc} */
       public void windowClosing(WindowEvent e) {
         GenericDialog.this.panel.closeClicked();
       }
@@ -228,9 +203,7 @@
     }
   }
 
-  /**
-   * {@inheritDoc}
-   */
+  /** {@inheritDoc} */
   public void setVisible(boolean visible)
   {
     if (visible && lastComponentWithFocus == null)
@@ -279,10 +252,7 @@
     closeButton.setEnabled(enable);
   }
 
-  /**
-   * Updates the title of the dialog using the title of the panel.
-   *
-   */
+  /** Updates the title of the dialog using the title of the panel. */
   public void updateTitle()
   {
     if (panel.getTitle() != null)
@@ -297,7 +267,6 @@
     Utilities.setBorder(comp, new EmptyBorder(20, 20, 20, 20));
   }
 
-
   private JPanel createButtonsPanel(final StatusGenericPanel panel)
   {
     JPanel buttonsPanel = new JPanel(new GridBagLayout());
@@ -413,4 +382,3 @@
     }
   }
 }
-

--
Gitblit v1.10.0