diff options
author | mihaylov <mihaylov@epfl.ch> | 2003-12-01 15:26:15 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2003-12-01 15:26:15 +0000 |
commit | 8550ca1591c314bfa2e45ebecd2005169ef68a3f (patch) | |
tree | abcf12b7bbd6955883c39d428329ac5c3025f6dc | |
parent | 0ab1c866962770adc7f6eb08327e2edf4e7473d0 (diff) | |
download | scala-8550ca1591c314bfa2e45ebecd2005169ef68a3f.tar.gz scala-8550ca1591c314bfa2e45ebecd2005169ef68a3f.tar.bz2 scala-8550ca1591c314bfa2e45ebecd2005169ef68a3f.zip |
- replaced System.out.print with Console.print
-rw-r--r-- | sources/scala/Stream.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/scala/Stream.scala b/sources/scala/Stream.scala index 6fe7ab1aa5..7714ca7f41 100644 --- a/sources/scala/Stream.scala +++ b/sources/scala/Stream.scala @@ -121,10 +121,10 @@ trait Stream[+a] extends Seq[a] { else Stream.cons(Tuple2(this.head, that.head), this.tail.zip(that.tail)); def print: unit = - if (isEmpty) System.out.println("Stream.empty") + if (isEmpty) Console.println("Stream.empty") else { - System.out.print(head.asInstanceOf[java.lang.Object]); - System.out.print(", "); + Console.print(head.asInstanceOf[java.lang.Object]); + Console.print(", "); tail.print } |