scala/scala — pull request #1279 by rkuhn (2012-09-10 13:56:12+00:00)
Title: fix usage of Duration in Promise impl

- correctly treat MinusInf and Undefined
- don't toMillis in the timeout message (could be MinusInf)
- also notice that Inf did not actually wait unbounded
- and further notice that tryAwait swallows InterruptedException instead
of bailing out early => changed to do so and added throws annotation
- also removed some unused imports of Duration