blob: 651763762018e48ff0bc54158f34354866f72afc (
plain) (
tree)
|
|
/* NSC -- new Scala compiler
* Copyright 2005-2012 LAMP/EPFL
* @author Martin Odersky
*/
package scala.tools.nsc
import java.io.{Writer, PrintWriter}
class NewLinePrintWriter(out: Writer, autoFlush: Boolean)
extends PrintWriter(out, autoFlush) {
def this(out: Writer) = this(out, false)
override def println() { print("\n"); flush() }
}
|