move Duration classes according to scala 2.10 nightly and remove casts to FiniteDuration, see #2504

This commit is contained in:
Roland 2012-09-21 14:50:06 +02:00
parent 6f70624ddd
commit 0f04239f67
227 changed files with 307 additions and 387 deletions

View file

@ -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