From 257a1845d3db3477a0b5939e94d77b0495d89561 Mon Sep 17 00:00:00 2001 From: mihaylov Date: Wed, 1 Nov 2006 16:03:28 +0000 Subject: Refactored portability support --- test/files/pos/exceptions.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/files/pos/exceptions.scala') diff --git a/test/files/pos/exceptions.scala b/test/files/pos/exceptions.scala index 819368244d..f71d215a23 100644 --- a/test/files/pos/exceptions.scala +++ b/test/files/pos/exceptions.scala @@ -7,14 +7,14 @@ object Test { def main(args: Array[String]): Unit = { try { try { - System.out.println("hi!"); + Console.println("hi!"); error("xx"); } finally { - System.out.println("ho!") + Console.println("ho!") } } catch { - case ex: IOException => System.out.println("io exception!"); - case ex => System.out.println(ex); + case ex: IOException => Console.println("io exception!"); + case ex => Console.println(ex); } } } -- cgit v1.2.3