From feccfa0e2fe623d8a6c3a6fe18a741b011470b82 Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Sat, 7 Jan 2012 00:49:35 +0100 Subject: [PATCH] Removing trailing dot madness --- akka-actor/src/main/scala/akka/util/Duration.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-actor/src/main/scala/akka/util/Duration.scala b/akka-actor/src/main/scala/akka/util/Duration.scala index 52a7211ef2..1406ad8564 100644 --- a/akka-actor/src/main/scala/akka/util/Duration.scala +++ b/akka-actor/src/main/scala/akka/util/Duration.scala @@ -325,7 +325,7 @@ class FiniteDuration(val length: Long, val unit: TimeUnit) extends Duration { case Duration(x, NANOSECONDS) ⇒ x + " nanoseconds" } - def printHMS = "%02d:%02d:%06.3f".format(toHours, toMinutes % 60, toMillis / 1000f % 60) + def printHMS = "%02d:%02d:%06.3f".format(toHours, toMinutes % 60, toMillis / 1000d % 60) def compare(other: Duration) = if (other.finite_?) {