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/QuickSetupDialog.java | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/QuickSetupDialog.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/QuickSetupDialog.java
index 6f2b2d6..4acac22 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/QuickSetupDialog.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/QuickSetupDialog.java
@@ -12,7 +12,7 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2006-2009 Sun Microsystems, Inc.
- * Portions Copyright 2013-2015 ForgeRock AS.
+ * Portions Copyright 2013-2016 ForgeRock AS.
*/
package org.opends.quicksetup.ui;
@@ -44,7 +44,6 @@
*
* If we are installing Open DS and the server has already been installed it
* will display an error message. In the other cases it will display a wizard.
- *
*/
public class QuickSetupDialog
{
@@ -88,6 +87,7 @@
frame = new JFrame(String.valueOf(application.getFrameTitle()));
frame.getContentPane().add(getFramePanel());
frame.addWindowListener(new WindowAdapter() {
+ @Override
public void windowClosing(WindowEvent e) {
application.windowClosing(QuickSetupDialog.this, e);
}
@@ -96,10 +96,7 @@
Utilities.setFrameIcon(frame);
}
- /**
- * Packs and displays this dialog.
- *
- */
+ /** Packs and displays this dialog. */
public void packAndShow()
{
frame.pack();
@@ -243,12 +240,12 @@
*
* This method can be called from the event thread or outside the event
* thread.
- *
*/
public void workerStarted()
{
Runnable r = new Runnable()
{
+ @Override
public void run()
{
displayWorkingProgressImage(true);
@@ -266,12 +263,12 @@
*
* This method can be called from the event thread or outside the event
* thread.
- *
*/
public void workerFinished()
{
Runnable r = new Runnable()
{
+ @Override
public void run()
{
displayWorkingProgressImage(false);
--
Gitblit v1.10.0