From 2e1386f3754bf6b76d6828209e51fda4e9ad406c Mon Sep 17 00:00:00 2001 From: Lex Spoon Date: Mon, 18 Feb 2008 22:42:13 +0000 Subject: moved NewLinePrintWriter back to object Interpr... moved NewLinePrintWriter back to object Interpreter (oops!) --- src/compiler/scala/tools/nsc/Interpreter.scala | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/compiler/scala/tools/nsc/Interpreter.scala b/src/compiler/scala/tools/nsc/Interpreter.scala index 1833ff1065..fac08c3a8b 100644 --- a/src/compiler/scala/tools/nsc/Interpreter.scala +++ b/src/compiler/scala/tools/nsc/Interpreter.scala @@ -896,16 +896,15 @@ class Interpreter(val settings: Settings, out: PrintWriter) { } } } +} +/** Utility methods for the Interpreter. */ +object Interpreter { class NewLinePrintWriter(out: Writer, autoFlush: Boolean) extends PrintWriter(out, autoFlush) { def this(out: Writer) = this(out, false) override def println() { print("\n"); flush() } } -} - -/** Utility methods for the Interpreter. */ -object Interpreter { /** Delete a directory tree recursively. Use with care! */ -- cgit v1.2.3