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/browser/NodeSearcherQueue.java | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/browser/NodeSearcherQueue.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/browser/NodeSearcherQueue.java
index 8f178fa..336bc4b 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/browser/NodeSearcherQueue.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/browser/NodeSearcherQueue.java
@@ -12,7 +12,7 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2008-2010 Sun Microsystems, Inc.
- * Portions Copyright 2015 ForgeRock AS.
+ * Portions Copyright 2015-2016 ForgeRock AS.
*/
package org.opends.guitools.controlpanel.browser;
@@ -29,7 +29,6 @@
*
* The queue will basically start a certain number of threads and this threads
* will "consume" the AbstractNodeTask objects that are added to this queue.
- *
*/
class NodeSearcherQueue implements Runnable {
@@ -65,10 +64,7 @@
}
- /**
- * Shutdown this queue.
- * All the associated threads are stopped.
- */
+ /** Shutdown this queue. All the associated threads are stopped. */
public void shutdown() {
threadGroup.interrupt();
}
@@ -131,9 +127,7 @@
}
- /**
- * Cancel all the object from this queue.
- */
+ /** Cancel all the object from this queue. */
public synchronized void cancelAll() {
waitingQueue.clear();
for (BasicNode node : workingList.keySet())
@@ -225,6 +219,7 @@
* the NodeSearchQueue constructor.
* Basically this method fetches objects from the waiting queue and runs them.
*/
+ @Override
public void run() {
boolean interrupted = false;
while (!interrupted)
--
Gitblit v1.10.0