Skip to content

Commit

Permalink
Merge pull request #54 from textPreferred/patch-1
Browse files Browse the repository at this point in the history
Small textual change for clarity.
  • Loading branch information
raulraja authored Sep 21, 2016
2 parents cee72ab + 377689c commit 1d75d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/stdlib/Objects.scala
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ object Objects extends FlatSpec with Matchers with org.scalaexercises.definition
Movie.academyAwardBestMoviesForYear(1932).get.name should be(res0)
}

/** A companion object can also see private values and variables of the instantiated objects:
/** A companion object can also see private values and variables of the corresponding classes' instantiated objects:
*/
def privateValuesObjects(res0: String, res1: String, res2: String, res3: String) {
class Person(val name: String, private val superheroName: String) //The superhero name is private!
Expand Down

0 comments on commit 1d75d07

Please sign in to comment.