summaryrefslogtreecommitdiff
path: root/test/files/pos/exceptions.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-11-01 16:03:28 +0000
committermihaylov <mihaylov@epfl.ch>2006-11-01 16:03:28 +0000
commit257a1845d3db3477a0b5939e94d77b0495d89561 (patch)
tree0aedf35621282407918e0f56b3b5ffc0952e6a14 /test/files/pos/exceptions.scala
parent8b0cd5cf7c2a682dd70d6b8ea32b521015bf2269 (diff)
downloadscala-257a1845d3db3477a0b5939e94d77b0495d89561.tar.gz
scala-257a1845d3db3477a0b5939e94d77b0495d89561.tar.bz2
scala-257a1845d3db3477a0b5939e94d77b0495d89561.zip
Refactored portability support
Diffstat (limited to 'test/files/pos/exceptions.scala')
-rw-r--r--test/files/pos/exceptions.scala8
1 files changed, 4 insertions, 4 deletions
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);
}
}
}