Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e549a4d

Browse files
authoredApr 23, 2019
Merge pull request #136 from filosganga/fix/fix-duration-typo
Fix the DurationConverters import in README
2 parents aec4947 + 490473c commit e549a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Example of conversions from the Java type ways:
268268

269269
```scala
270270
import scala.concurrent.duration._
271-
import scala.compat.java8.DurationConverters
271+
import scala.compat.java8.DurationConverters._
272272

273273
val javaDuration: java.time.Duration = 5.seconds.toJava
274274
val finiteDuration: FiniteDuration = javaDuration.toScala

0 commit comments

Comments
 (0)
Please sign in to comment.