summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2016-03-09 05:04:32 -0500
committerSeth Tisue <seth@tisue.net>2016-03-09 05:04:32 -0500
commit7a21ee22c34969912132e83fe3bd674f6c804840 (patch)
tree3b1110b324d7cedff39603b0cf3ed6c9e4852aff
parentc5f6b5c759378ad2fd90f77f4d0fb161c0266c45 (diff)
parent79a3b675f3adc3c8c3a6b0d893b7ceaf8ccf2974 (diff)
downloadscala-7a21ee22c34969912132e83fe3bd674f6c804840.tar.gz
scala-7a21ee22c34969912132e83fe3bd674f6c804840.tar.bz2
scala-7a21ee22c34969912132e83fe3bd674f6c804840.zip
Merge pull request #5029 from mathhun/typo-fix
Fix typo
-rw-r--r--src/library/scala/Symbol.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/Symbol.scala b/src/library/scala/Symbol.scala
index 4fead7a50c..4dcfdd4cba 100644
--- a/src/library/scala/Symbol.scala
+++ b/src/library/scala/Symbol.scala
@@ -71,8 +71,8 @@ private[scala] abstract class UniquenessCache[K, V >: Null]
else {
// If we don't remove the old String key from the map, we can
// wind up with one String as the key and a different String as
- // as the name field in the Symbol, which can lead to surprising
- // GC behavior and duplicate Symbols. See SI-6706.
+ // the name field in the Symbol, which can lead to surprising GC
+ // behavior and duplicate Symbols. See SI-6706.
map remove name
val sym = valueFromKey(name)
map.put(name, new WeakReference(sym))