blob: 4ced491a8d4b0328849d6e716eb87596d3317fe7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* NSC -- new Scala compiler
* Copyright 2005-2010 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() }
}
|