summaryrefslogtreecommitdiff
path: root/src/actors
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2009-09-25 19:56:41 +0000
committermichelou <michelou@epfl.ch>2009-09-25 19:56:41 +0000
commit15eb9333fa7fddc458f1c79da8ff1270ce990db2 (patch)
tree5898043971c2581f95889e92035a39fd3b16173a /src/actors
parent0c50ba867782ce737b99f1f108103b7ba53a1a50 (diff)
downloadscala-15eb9333fa7fddc458f1c79da8ff1270ce990db2.tar.gz
scala-15eb9333fa7fddc458f1c79da8ff1270ce990db2.tar.bz2
scala-15eb9333fa7fddc458f1c79da8ff1270ce990db2.zip
reverted 'doArg' change made in r18738, removed...
reverted 'doArg' change made in r18738, removed a few warnings
Diffstat (limited to 'src/actors')
-rw-r--r--src/actors/scala/actors/Scheduler.scala6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/actors/scala/actors/Scheduler.scala b/src/actors/scala/actors/Scheduler.scala
index f6b82e1bb9..e50e848c73 100644
--- a/src/actors/scala/actors/Scheduler.scala
+++ b/src/actors/scala/actors/Scheduler.scala
@@ -33,7 +33,8 @@ object Scheduler extends DelegatingScheduler {
/* Only <code>ForkJoinScheduler</code> implements this method.
*/
- @deprecated def snapshot() {
+ @deprecated("snapshot will be removed")
+ def snapshot() {
if (sched.isInstanceOf[ForkJoinScheduler]) {
sched.asInstanceOf[ForkJoinScheduler].snapshot()
} else
@@ -42,7 +43,8 @@ object Scheduler extends DelegatingScheduler {
/* Only <code>ForkJoinScheduler</code> implements this method.
*/
- @deprecated def restart() {
+ @deprecated("restart will be removed")
+ def restart() {
if (sched.isInstanceOf[ForkJoinScheduler]) {
sched.asInstanceOf[ForkJoinScheduler].restart()
} else