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/task/DeleteEntryTask.java | 25 ++++++++++++++-----------
1 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/DeleteEntryTask.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/DeleteEntryTask.java
index 5b82c50..76dc89d 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/DeleteEntryTask.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/DeleteEntryTask.java
@@ -55,9 +55,7 @@
import org.opends.server.types.DirectoryException;
import org.opends.server.util.ServerConstants;
-/**
- * The task that is launched when an entry must be deleted.
- */
+/** The task that is launched when an entry must be deleted. */
public class DeleteEntryTask extends Task
{
private Set<String> backendSet;
@@ -113,37 +111,37 @@
}
}
- /** {@inheritDoc} */
+ @Override
public Type getType()
{
return Type.DELETE_ENTRY;
}
- /** {@inheritDoc} */
+ @Override
public Set<String> getBackends()
{
return backendSet;
}
- /** {@inheritDoc} */
+ @Override
public LocalizableMessage getTaskDescription()
{
return INFO_CTRL_PANEL_DELETE_ENTRY_TASK_DESCRIPTION.get();
}
- /** {@inheritDoc} */
+ @Override
protected String getCommandLinePath()
{
return null;
}
- /** {@inheritDoc} */
+ @Override
protected ArrayList<String> getCommandLineArguments()
{
return new ArrayList<>();
}
- /** {@inheritDoc} */
+ @Override
public boolean canLaunch(Task taskToBeLaunched,
Collection<LocalizableMessage> incompatibilityReasons)
{
@@ -164,13 +162,13 @@
return true;
}
- /** {@inheritDoc} */
+ @Override
public boolean regenerateDescriptor()
{
return false;
}
- /** {@inheritDoc} */
+ @Override
public void runTask()
{
state = State.RUNNING;
@@ -223,6 +221,7 @@
toNotify.clear();
SwingUtilities.invokeLater(new Runnable()
{
+ @Override
public void run()
{
notifyEntriesDeleted(fToNotify);
@@ -299,6 +298,7 @@
// Only display the first entry equivalent command-line.
SwingUtilities.invokeLater(new Runnable()
{
+ @Override
public void run()
{
if (!equivalentCommandWithoutControlPrinted)
@@ -373,6 +373,7 @@
}
SwingUtilities.invokeLater(new Runnable()
{
+ @Override
public void run()
{
getProgressDialog().getProgressBar().setIndeterminate(false);
@@ -400,6 +401,7 @@
// Only display the first entry equivalent command-line.
SwingUtilities.invokeLater(new Runnable()
{
+ @Override
public void run()
{
if (!equivalentCommandWithControlPrinted)
@@ -456,6 +458,7 @@
}
SwingUtilities.invokeLater(new Runnable()
{
+ @Override
public void run()
{
getProgressDialog().getProgressBar().setIndeterminate(false);
--
Gitblit v1.10.0