summaryrefslogtreecommitdiff
path: root/src/library/scala/Symbol.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/Symbol.scala')
-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))