move Duration classes according to scala 2.10 nightly and remove casts to FiniteDuration, see #2504
This commit is contained in:
parent
6f70624ddd
commit
0f04239f67
227 changed files with 307 additions and 387 deletions
|
|
@ -6,7 +6,7 @@ package docs.duration
|
|||
|
||||
object Scala {
|
||||
//#dsl
|
||||
import scala.concurrent.util.duration._ // notice the small d
|
||||
import scala.concurrent.duration._
|
||||
|
||||
val fivesec = 5.seconds
|
||||
val threemillis = 3.millis
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue