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/installer/ui/JavaArgumentsDialog.java | 19 ++++++-------------
1 files changed, 6 insertions(+), 13 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/JavaArgumentsDialog.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/JavaArgumentsDialog.java
index 06aa9f1..9e312af 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/JavaArgumentsDialog.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/JavaArgumentsDialog.java
@@ -407,6 +407,7 @@
buttonsPanel.add(okButton, gbc);
okButton.addActionListener(new ActionListener()
{
+ @Override
public void actionPerformed(ActionEvent ev)
{
okClicked();
@@ -421,6 +422,7 @@
buttonsPanel.add(cancelButton, gbc);
cancelButton.addActionListener(new ActionListener()
{
+ @Override
public void actionPerformed(ActionEvent ev)
{
cancelClicked();
@@ -430,20 +432,14 @@
return buttonsPanel;
}
- /**
- * Method called when user clicks on cancel.
- *
- */
+ /** Method called when user clicks on cancel. */
private void cancelClicked()
{
isCanceled = true;
dispose();
}
- /**
- * Method called when user clicks on OK.
- *
- */
+ /** Method called when user clicks on OK. */
private void okClicked()
{
BackgroundTask<ArrayList<LocalizableMessage>> worker =
@@ -599,11 +595,7 @@
toFront();
}
- /**
- * Updates the widgets on the dialog with the contents of the securityOptions
- * object.
- *
- */
+ /** Updates the widgets on the dialog with the contents of the securityOptions object. */
private void updateContents()
{
if (javaArguments.getInitialMemory() > 0)
@@ -653,6 +645,7 @@
{
SwingUtilities.invokeLater(new Runnable()
{
+ @Override
public void run()
{
UIFactory.setTextStyle(comp,
--
Gitblit v1.10.0