diff options
author | Roland <rk@rkuhn.info> | 2012-09-10 15:52:07 +0200 |
---|---|---|
committer | Roland <rk@rkuhn.info> | 2012-09-10 15:52:07 +0200 |
commit | 3767a6a83efc74d34e9025f798eeb2a043e6df8d (patch) | |
tree | 85d5b78144bf8a9ab4ddd41c74c69ef2d7bb0db5 /src/fjbg/ch/epfl | |
parent | b7e08723d142c8227181eed283e7c982f449425a (diff) | |
download | scala-3767a6a83efc74d34e9025f798eeb2a043e6df8d.tar.gz scala-3767a6a83efc74d34e9025f798eeb2a043e6df8d.tar.bz2 scala-3767a6a83efc74d34e9025f798eeb2a043e6df8d.zip |
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
Diffstat (limited to 'src/fjbg/ch/epfl')
0 files changed, 0 insertions, 0 deletions