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/guitools/controlpanel/ui/GenericMenuBar.java |   21 ++++++++-------------
 1 files changed, 8 insertions(+), 13 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/GenericMenuBar.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/GenericMenuBar.java
index 86cbaa3..b33c405 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/GenericMenuBar.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/GenericMenuBar.java
@@ -12,7 +12,7 @@
  * information: "Portions Copyright [year] [name of copyright owner]".
  *
  * Copyright 2008-2010 Sun Microsystems, Inc.
- * Portions Copyright 2014-2015 ForgeRock AS.
+ * Portions Copyright 2014-2016 ForgeRock AS.
  */
 
 package org.opends.guitools.controlpanel.ui;
@@ -36,10 +36,7 @@
 import org.opends.quicksetup.util.WebBrowserLauncher;
 import org.opends.server.util.DynamicConstants;
 
-/**
- * An abstract class that the different menu bars in the Control Panel extend.
- *
- */
+/** An abstract class that the different menu bars in the Control Panel extend. */
 
 public abstract class GenericMenuBar extends JMenuBar
 {
@@ -47,16 +44,12 @@
 
   private ControlPanelInfo info;
 
-  /**
-   * The URL to the administration guide.
-   */
+  /** The URL to the administration guide. */
   protected final String ADMINISTRATION_GUIDE_URL =
     Utils.getCustomizedObject("ADMINISTRATION_GUIDE_URL",
         DynamicConstants.ADMINISTRATION_GUIDE_URL, String.class);
 
-  /**
-   * The URL to the wiki main page.
-   */
+  /** The URL to the wiki main page. */
   protected final String DOC_REFERENCE_WIKI =
     Utils.getCustomizedObject("DOC_REFERENCE_WIKI",
         DynamicConstants.DOC_REFERENCE_WIKI, String.class);
@@ -92,6 +85,7 @@
         INFO_CTRL_PANEL_ADMINISTRATION_GUIDE_MENU.get());
     menuItem.addActionListener(new ActionListener()
     {
+      @Override
       public void actionPerformed(ActionEvent ev)
       {
         displayURL(ADMINISTRATION_GUIDE_URL);
@@ -102,6 +96,7 @@
         INFO_CTRL_PANEL_DOCUMENTATION_WIKI_MENU.get());
     menuItem.addActionListener(new ActionListener()
     {
+      @Override
       public void actionPerformed(ActionEvent ev)
       {
         displayURL(DOC_REFERENCE_WIKI);
@@ -119,7 +114,7 @@
   {
     BackgroundTask<Void> worker = new BackgroundTask<Void>()
     {
-      /** {@inheritDoc} */
+      @Override
       public Void processBackgroundTask() throws WebBrowserException
       {
         try
@@ -133,7 +128,7 @@
         }
       }
 
-      /** {@inheritDoc} */
+      @Override
       public void backgroundTaskCompleted(Void returnValue, Throwable throwable)
       {
         WebBrowserException ex = (WebBrowserException) throwable;

--
Gitblit v1.10.0