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

Jean-Noel Rouvignac
24.11.2015 8d21db36015f8560d9cd2bcee9817f2c0a07a386
opendj-server-legacy/src/test/java/org/opends/server/TestTextWriter.java
@@ -22,6 +22,7 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2015 ForgeRock AS.
 */
package org.opends.server;
@@ -33,7 +34,7 @@
public class TestTextWriter implements TextWriter
{
  // The list that will hold the messages logged.
  /** The list that will hold the messages logged. */
  private final LinkedList<String> messageList;
  public TestTextWriter()
@@ -46,28 +47,22 @@
    messageList.add(record);
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void flush()
  {
    // No implementation is required.
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void shutdown()
  {
    messageList.clear();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public long getBytesWritten()
  {
    // No implemention is required. Just return 0;
    // No implementation is required. Just return 0;
    return 0;
  }