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/QuickSetupStepPanel.java | 18 +++++-------------
1 files changed, 5 insertions(+), 13 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/QuickSetupStepPanel.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/QuickSetupStepPanel.java
index 60dba71..28f39c2 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/QuickSetupStepPanel.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/QuickSetupStepPanel.java
@@ -12,7 +12,7 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2006-2010 Sun Microsystems, Inc.
- * Portions Copyright 2013-2015 ForgeRock AS.
+ * Portions Copyright 2013-2016 ForgeRock AS.
*/
package org.opends.quicksetup.ui;
@@ -46,7 +46,6 @@
* the CardLayout of CurrentStepPanel. All the panels that appear on the
* top-right side of the dialog extend this class: WelcomePane, ReviewPanel,
* etc.
- *
*/
public abstract class QuickSetupStepPanel extends QuickSetupPanel
implements HyperlinkListener
@@ -96,9 +95,7 @@
{
}
- /**
- * Called just after the panel is shown: used to set focus properly.
- */
+ /** Called just after the panel is shown: used to set focus properly. */
public void endDisplay()
{
}
@@ -129,6 +126,7 @@
*
* @param e the HyperlinkEvent.
*/
+ @Override
public void hyperlinkUpdate(HyperlinkEvent e)
{
if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED)
@@ -136,10 +134,7 @@
String url = e.getURL().toString();
if (!isURLWorkerRunning(url))
{
- /*
- * Only launch the worker if there is not already a worker trying to
- * display this URL.
- */
+ /* Only launch the worker if there is not already a worker trying to display this URL. */
URLWorker worker = new URLWorker(this, url);
startWorker(worker);
}
@@ -270,10 +265,7 @@
l.buttonActionPerformed(ev);
}
}
- /**
- * Creates the layout of the panel.
- *
- */
+ /** Creates the layout of the panel. */
protected void createLayout()
{
setLayout(new GridBagLayout());
--
Gitblit v1.10.0