scala/scala — pull request #938 by phaller (2012-07-17 23:49:54+00:00)
Title: SI-6095, SI-6098 - clean up public API, add deprecations

This pull request fixes two critical bugs in `scala.concurrent`, SI-6095 and SI-6098. Since the fixes affect the public API and cannot be fixed later, these issues should be considered critical.

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