diff options
author | phaller <hallerp@gmail.com> | 2012-07-18 01:31:08 +0200 |
---|---|---|
committer | phaller <hallerp@gmail.com> | 2012-07-18 01:43:04 +0200 |
commit | 1c2efb36c2154f4f3480e674b87c57042be65d05 (patch) | |
tree | 7fdea8b39097e58929b9d4e40fbef9faeaa60f71 /src/library/scala/concurrent/ExecutionContext.scala | |
parent | 4f07a12b3f4ce1595d4976123e5cfe34e186d4ba (diff) | |
download | scala-1c2efb36c2154f4f3480e674b87c57042be65d05.tar.gz scala-1c2efb36c2154f4f3480e674b87c57042be65d05.tar.bz2 scala-1c2efb36c2154f4f3480e674b87c57042be65d05.zip |
SI-6095, SI-6098 - clean up public API, add deprecations
Remove Scheduler, Cancellable, and Task trait.
Hide impl.Promise object.
Deprecate managedBlock methods in TaskRunners.
Remove duplicate toBoxed method and pointless renaming import.
Remove duplicate import of CanBuildFrom and Builder in Future.
Organize imports in impl.Promise.
Review by @axel22 and @heathermiller
Diffstat (limited to 'src/library/scala/concurrent/ExecutionContext.scala')
-rw-r--r-- | src/library/scala/concurrent/ExecutionContext.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/concurrent/ExecutionContext.scala b/src/library/scala/concurrent/ExecutionContext.scala index debfc226db..8081bb32da 100644 --- a/src/library/scala/concurrent/ExecutionContext.scala +++ b/src/library/scala/concurrent/ExecutionContext.scala @@ -77,7 +77,7 @@ object ExecutionContext { /** The default reporter simply prints the stack trace of the `Throwable` to System.err. */ - def defaultReporter: Throwable => Unit = { case t => t.printStackTrace() } + def defaultReporter: Throwable => Unit = (t: Throwable) => t.printStackTrace() } |