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/StandardAttributePanel.java | 26 +++++++++-----------------
1 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/StandardAttributePanel.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/StandardAttributePanel.java
index 7de6412..5bd81af 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/StandardAttributePanel.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/StandardAttributePanel.java
@@ -47,10 +47,7 @@
import org.opends.server.types.ObjectClass;
import org.opends.server.types.Schema;
-/**
- * The panel that displays a standard attribute definition.
- *
- */
+/** The panel that displays a standard attribute definition. */
public class StandardAttributePanel extends SchemaElementPanel
{
private static final long serialVersionUID = -7922968631524763675L;
@@ -72,41 +69,36 @@
private JList requiredBy = new JList(new DefaultListModel());
private JList optionalBy = new JList(new DefaultListModel());
- /**
- * Default constructor of the panel.
- *
- */
+ /** Default constructor of the panel. */
public StandardAttributePanel()
{
super();
createLayout();
}
- /** {@inheritDoc} */
+ @Override
public LocalizableMessage getTitle()
{
return INFO_CTRL_PANEL_STANDARD_ATTRIBUTE_TITLE.get();
}
- /** {@inheritDoc} */
+ @Override
public Component getPreferredFocusComponent()
{
return requiredBy;
}
- /** {@inheritDoc} */
+ @Override
public void configurationChanged(ConfigurationChangeEvent ev)
{
}
- /** {@inheritDoc} */
+ @Override
public void okClicked()
{
}
- /**
- * 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). */
protected void createLayout()
{
createBasicLayout(this, new GridBagConstraints());
@@ -203,7 +195,7 @@
final JList list = lists[i];
MouseAdapter clickListener = new MouseAdapter()
{
- /** {@inheritDoc} */
+ @Override
public void mouseClicked(MouseEvent ev)
{
if (ev.getClickCount() == 1)
@@ -216,7 +208,7 @@
KeyAdapter keyListener = new KeyAdapter()
{
- /** {@inheritDoc} */
+ @Override
public void keyTyped(KeyEvent ev)
{
if (ev.getKeyChar() == KeyEvent.VK_SPACE ||
--
Gitblit v1.10.0