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/BinaryValuePanel.java | 32 ++++++++++++--------------------
1 files changed, 12 insertions(+), 20 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BinaryValuePanel.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BinaryValuePanel.java
index 99c947d..fc8ed38 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BinaryValuePanel.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BinaryValuePanel.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;
@@ -34,10 +34,7 @@
import org.opends.guitools.controlpanel.util.Utilities;
import org.opends.server.types.Schema;
-/**
- * The panel used to display a binary value.
- *
- */
+/** The panel used to display a binary value. */
public class BinaryValuePanel extends StatusGenericPanel
{
private static final long serialVersionUID = 2536360199438858665L;
@@ -50,10 +47,7 @@
private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
- /**
- * Default constructor.
- *
- */
+ /** Default constructor. */
public BinaryValuePanel()
{
super();
@@ -71,7 +65,7 @@
lastBytes = bytes;
BackgroundTask<Void> worker = new BackgroundTask<Void>()
{
- /** {@inheritDoc} */
+ @Override
public Void processBackgroundTask() throws Throwable
{
try
@@ -102,7 +96,7 @@
return null;
}
- /** {@inheritDoc} */
+ @Override
public void backgroundTaskCompleted(Void returnValue, Throwable t)
{
displayMainPanel();
@@ -124,44 +118,42 @@
}
}
- /** {@inheritDoc} */
+ @Override
public Component getPreferredFocusComponent()
{
return base64;
}
- /** {@inheritDoc} */
+ @Override
public GenericDialog.ButtonType getButtonType()
{
return GenericDialog.ButtonType.CLOSE;
}
- /** {@inheritDoc} */
+ @Override
public void okClicked()
{
// No OK Button
}
- /** {@inheritDoc} */
+ @Override
public boolean requiresScroll()
{
return true;
}
- /** {@inheritDoc} */
+ @Override
public LocalizableMessage getTitle()
{
return INFO_CTRL_PANEL_VIEW_BINARY_ATTRIBUTE_TITLE.get();
}
- /** {@inheritDoc} */
+ @Override
public void configurationChanged(ConfigurationChangeEvent ev)
{
}
- /**
- * 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