From 377689cdc145bd160dbb6fbd91aedda333fe5c2a Mon Sep 17 00:00:00 2001 From: Hannes Date: Fri, 16 Sep 2016 16:29:32 +0200 Subject: [PATCH] Small textual change for clarity. Make more clear that the term "object" at the end of the sentence does not refer to the same "object" as in the beginnig of the sentence. --- src/main/scala/stdlib/Objects.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/stdlib/Objects.scala b/src/main/scala/stdlib/Objects.scala index 6cf9dfa5..0601b056 100644 --- a/src/main/scala/stdlib/Objects.scala +++ b/src/main/scala/stdlib/Objects.scala @@ -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!