From 2a3158aad80fc910b83336485b3e545dea50066c Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Apr 2016 09:23:30 +0000
Subject: [PATCH] guitools + quicksetup: added @Override + Autorefactor'ed comments

---
 opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/CustomHTMLEditorKit.java |   26 +++++++++-----------------
 1 files changed, 9 insertions(+), 17 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/CustomHTMLEditorKit.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/CustomHTMLEditorKit.java
index 1aab06c..1dcd7da 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/CustomHTMLEditorKit.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/CustomHTMLEditorKit.java
@@ -12,7 +12,7 @@
  * information: "Portions Copyright [year] [name of copyright owner]".
  *
  * Copyright 2008 Sun Microsystems, Inc.
- * Portions Copyright 2015 ForgeRock AS.
+ * Portions Copyright 2015-2016 ForgeRock AS.
  */
 
 package org.opends.quicksetup.ui;
@@ -29,23 +29,19 @@
 import javax.swing.text.html.FormView;
 import javax.swing.text.html.HTMLEditorKit;
 
-/**
- * Class used to be able to detect events in the button inside an HTML pane.
- */
+/** Class used to be able to detect events in the button inside an HTML pane. */
 public class CustomHTMLEditorKit extends HTMLEditorKit
 {
   private HashSet<ActionListener> listeners = new HashSet<>();
   private static final long serialVersionUID = 298103926252426388L;
 
-  /**
-   * Default constructor.
-   */
+  /** Default constructor. */
   public CustomHTMLEditorKit()
   {
     super();
   }
 
-  /** {@inheritDoc} */
+  @Override
   public ViewFactory getViewFactory()
   {
     return new MyHTMLFactory();
@@ -69,12 +65,10 @@
     listeners.remove(l);
   }
 
-  /**
-   * Class used to be able to detect events in the button inside an HTML pane.
-   */
+  /** Class used to be able to detect events in the button inside an HTML pane. */
   class MyHTMLFactory extends HTMLFactory
   {
-    /** {@inheritDoc} */
+    @Override
     public View create(Element elem)
     {
       View v = super.create(elem);
@@ -86,9 +80,7 @@
     }
   }
 
-  /**
-   * Class used to be able to detect events in the button inside an HTML pane.
-   */
+  /** Class used to be able to detect events in the button inside an HTML pane. */
   class MyFormView extends FormView
   {
     /**
@@ -101,7 +93,7 @@
       super(elem);
     }
 
-    /** {@inheritDoc} */
+    @Override
     public void actionPerformed(ActionEvent ev)
     {
       if (ev != null && ev.getWhen() != lastActionWhen) {
@@ -113,7 +105,7 @@
       }
     }
 
-    /** {@inheritDoc} */
+    @Override
     protected Component createComponent()
     {
       Component comp = super.createComponent();

--
Gitblit v1.10.0