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/util/ProcessReader.java | 15 ++++-----------
1 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ProcessReader.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ProcessReader.java
index dd6bd76..1c6ccc2 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ProcessReader.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ProcessReader.java
@@ -12,7 +12,7 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2008 Sun Microsystems, Inc.
- * Portions Copyright 2015 ForgeRock AS.
+ * Portions Copyright 2015-2016 ForgeRock AS.
*/
package org.opends.guitools.controlpanel.util;
@@ -22,10 +22,7 @@
import java.io.InputStreamReader;
import java.io.PrintStream;
-/**
- * Class used to write the output and error of a given process in a printstream.
- *
- */
+/** Class used to write the output and error of a given process in a printstream. */
public class ProcessReader
{
private BufferedReader reader;
@@ -58,7 +55,7 @@
readerThread = new Thread(new Runnable()
{
- /** {@inheritDoc} */
+ @Override
public void run()
{
String line;
@@ -78,10 +75,7 @@
});
}
- /**
- * Starts reading the output (or error) of the process.
- *
- */
+ /** Starts reading the output (or error) of the process. */
public void startReading()
{
readerThread.start();
@@ -90,7 +84,6 @@
/**
* Interrupts the reading of the output (or error) of the process. The method
* does not return until the reading is over.
- *
*/
public void interrupt()
{
--
Gitblit v1.10.0