From 6638c2755466ca601450700d5a39f390f23d4781 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 23 Mar 2015 14:44:05 +0000
Subject: [PATCH] AutoRefactored javadocs

---
 opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/BackgroundTaskThread.java |   23 +++++++----------------
 1 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/BackgroundTaskThread.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/BackgroundTaskThread.java
index 2d69927..0f4130d 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/BackgroundTaskThread.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/BackgroundTaskThread.java
@@ -22,6 +22,7 @@
  *
  *
  *      Copyright 2008 Sun Microsystems, Inc.
+ *      Portions Copyright 2015 ForgeRock AS.
  */
 
 package org.opends.guitools.controlpanel.util;
@@ -31,17 +32,13 @@
 /**
 * This class defines a thread that will be used to actually perform the
 * processing for a background task.
-* @param <T> type of object returned by the background task fed to this
-* object
+* @param <T> type of object returned by the background task fed to this object
 */
-class BackgroundTaskThread<T>
-     extends Thread
+class BackgroundTaskThread<T> extends Thread
 {
- // The background task that is to be processed.
+ /** The background task that is to be processed. */
  private final BackgroundTask<T> backgroundTask;
 
-
-
  /**
   * Creates a new background task thread that will be used to process the
   * provided task.
@@ -53,9 +50,7 @@
    this.backgroundTask = backgroundTask;
  }
 
- /**
-  * Performs the processing associated with the background task.
-  */
+ /** Performs the processing associated with the background task. */
  public void run()
  {
    try
@@ -63,9 +58,7 @@
      final T returnValue = backgroundTask.processBackgroundTask();
      SwingUtilities.invokeLater(new Runnable()
      {
-       /**
-        * {@inheritDoc}
-        */
+       /** {@inheritDoc} */
        public void run()
        {
          backgroundTask.backgroundTaskCompleted(returnValue, null);
@@ -78,9 +71,7 @@
      {
        SwingUtilities.invokeLater(new Runnable()
        {
-         /**
-          * {@inheritDoc}
-          */
+         /** {@inheritDoc} */
          public void run()
          {
            backgroundTask.backgroundTaskCompleted(null, t);

--
Gitblit v1.10.0