diff --git a/_overviews/tutorials/scala-for-java-programmers.md b/_overviews/tutorials/scala-for-java-programmers.md index 5fc255585c..ada65a08f7 100644 --- a/_overviews/tutorials/scala-for-java-programmers.md +++ b/_overviews/tutorials/scala-for-java-programmers.md @@ -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 { @@ -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.