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/ObjectClassEditorPanel.java | 28 +++++++++++-----------------
1 files changed, 11 insertions(+), 17 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/ObjectClassEditorPanel.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/ObjectClassEditorPanel.java
index d320ef4..2147fb7 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/ObjectClassEditorPanel.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/ObjectClassEditorPanel.java
@@ -12,7 +12,7 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2008 Sun Microsystems, Inc.
- * Portions Copyright 2014-2015 ForgeRock AS.
+ * Portions Copyright 2014-2016 ForgeRock AS.
*/
package org.opends.guitools.controlpanel.ui;
@@ -42,7 +42,6 @@
/**
* This is the class used to edit the object class of a given entry, it displays
* the structural objectclass of the entry and its auxiliary objectclasses.
- *
*/
public class ObjectClassEditorPanel extends StatusGenericPanel
{
@@ -54,10 +53,7 @@
private boolean valueChanged;
- /**
- * Default constructor.
- *
- */
+ /** Default constructor. */
public ObjectClassEditorPanel()
{
super();
@@ -116,13 +112,13 @@
availableListModel, 0, availableListModel.getSize());
}
- /** {@inheritDoc} */
+ @Override
public Component getPreferredFocusComponent()
{
return structural;
}
- /** {@inheritDoc} */
+ @Override
public void cancelClicked()
{
valueChanged = false;
@@ -138,7 +134,7 @@
return value;
}
- /** {@inheritDoc} */
+ @Override
public void okClicked()
{
String struct = (String) structural.getSelectedItem();
@@ -150,13 +146,13 @@
Utilities.getParentDialog(this).setVisible(false);
}
- /** {@inheritDoc} */
+ @Override
public LocalizableMessage getTitle()
{
return INFO_CTRL_PANEL_EDIT_OBJECTCLASS_TITLE.get();
}
- /** {@inheritDoc} */
+ @Override
public void configurationChanged(ConfigurationChangeEvent ev)
{
final Schema schema = ev.getNewDescriptor().getSchema();
@@ -181,7 +177,7 @@
SwingUtilities.invokeLater(new Runnable()
{
- /** {@inheritDoc} */
+ @Override
public void run()
{
String currentStruct = (String)structural.getSelectedItem();
@@ -245,7 +241,7 @@
ColorAndFontConstants.defaultFont);
SwingUtilities.invokeLater(new Runnable()
{
- /** {@inheritDoc} */
+ @Override
public void run()
{
setEnabledOK(false);
@@ -265,15 +261,13 @@
return valueChanged;
}
- /** {@inheritDoc} */
+ @Override
public boolean requiresScroll()
{
return false;
}
- /**
- * Creates the layout of the panel (but the contents are not populated here).
- */
+ /** Creates the layout of the panel (but the contents are not populated here). */
private void createLayout()
{
GridBagConstraints gbc = new GridBagConstraints();
--
Gitblit v1.10.0