Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions _overviews/tutorials/scala-for-java-programmers.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ classes in the Scala class library--we can simply import the classes
of the corresponding Java packages:

import java.util.{Date, Locale}
import java.text.DateFormat
import java.text.DateFormat._

object FrenchDate {
Expand All @@ -123,7 +122,7 @@ package or class, one uses the underscore character (`_`) instead
of the asterisk (`*`). That's because the asterisk is a valid
Scala identifier (e.g. method name), as we will see later.

The import statement on the third line therefore imports all members
The import statement on the second line therefore imports all members
of the `DateFormat` class. This makes the static method
`getDateInstance` and the static field `LONG` directly
visible.
Expand Down