mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noël Rouvignac
20.36.2016 2a3158aad80fc910b83336485b3e545dea50066c
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()
  {