[Scala] Fix typo: forgotten dot