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

Jean-Noël Rouvignac
20.36.2016 2a3158aad80fc910b83336485b3e545dea50066c
opendj-server-legacy/src/main/java/org/opends/quicksetup/util/StandardOutputSuppressor.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.quicksetup.util;
@@ -21,10 +21,7 @@
import java.io.IOException;
import java.io.PrintStream;
/**
 * Tool for suppressing and unsuppressing output to standard
 * output streams.
 */
/** Tool for suppressing and unsuppressing output to standard output streams. */
public class StandardOutputSuppressor {
  private static Token token;
@@ -74,12 +71,10 @@
    return token != null;
  }
  /**
   * PrintWriter for suppressing stream.
   */
  /** PrintWriter for suppressing stream. */
  private static class NullOutputStream extends OutputStream {
    /** {@inheritDoc} */
    @Override
    public void write(int b) throws IOException {
      // do nothing;
    }