summaryrefslogtreecommitdiff
path: root/test/files/run/bugs.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-04-28 11:52:10 -0700
committerPaul Phillips <paulp@improving.org>2012-04-28 13:48:22 -0700
commit14144be0bcd3f6823a9622c6f962aed295ef3392 (patch)
treee031f6fd8c87d7289e9841490c60888b14d558c8 /test/files/run/bugs.scala
parentd1460afa09989bcecb306b3cf78880cea39cbdc7 (diff)
downloadscala-14144be0bcd3f6823a9622c6f962aed295ef3392.tar.gz
scala-14144be0bcd3f6823a9622c6f962aed295ef3392.tar.bz2
scala-14144be0bcd3f6823a9622c6f962aed295ef3392.zip
Removed a few more @deprecated members.
The ones which remain I'm not removing on purpose, as I know from experience it's more trouble than it's yet worth.
Diffstat (limited to 'test/files/run/bugs.scala')
-rw-r--r--test/files/run/bugs.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/run/bugs.scala b/test/files/run/bugs.scala
index d5905af76c..ca598603bb 100644
--- a/test/files/run/bugs.scala
+++ b/test/files/run/bugs.scala
@@ -445,8 +445,7 @@ object Test {
test;
} catch {
case exception =>
- val curr: String = currentThread.toString();
- Console.print("Exception in thread \"" + curr + "\" " + exception);
+ Console.print("Exception in thread \"" + Thread.currentThread + "\" " + exception);
Console.println;
errors += 1
}