All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jp.co.cyberagent.aeromock.util.DummyWriter.scala Maven / Gradle / Ivy

There is a newer version: 0.2.5
Show newest version
package jp.co.cyberagent.aeromock.util

import java.io.Writer

/**
 * Dummy writer object.
 * @author stormcat24
 */
object DummyWriter extends Writer {

  /**
   * @inheritdoc
   */
  override def write(cbuf: Array[Char], off: Int, len: Int): Unit = {}

  /**
   * @inheritdoc
   */
  override def flush(): Unit = {}

  /**
   * @inheritdoc
   */
  override def close(): Unit = {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy