summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathhun <achemer@gmail.com>2016-03-09 13:18:07 +0900
committermathhun <achemer@gmail.com>2016-03-09 14:36:03 +0900
commit79a3b675f3adc3c8c3a6b0d893b7ceaf8ccf2974 (patch)
tree3b1110b324d7cedff39603b0cf3ed6c9e4852aff
parentc5f6b5c759378ad2fd90f77f4d0fb161c0266c45 (diff)
downloadscala-79a3b675f3adc3c8c3a6b0d893b7ceaf8ccf2974.tar.gz
scala-79a3b675f3adc3c8c3a6b0d893b7ceaf8ccf2974.tar.bz2
scala-79a3b675f3adc3c8c3a6b0d893b7ceaf8ccf2974.zip
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))