summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/OpenHashMap.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-09-14 06:48:54 -0700
committerPaul Phillips <paulp@improving.org>2012-09-14 06:48:54 -0700
commitabfa957a54610bc2c9f14a17986de63738cb48f5 (patch)
treee7ed50c42e0405841206b33af048b5b951236c18 /src/library/scala/collection/mutable/OpenHashMap.scala
parent255e096f1ac0f0c8f19d599404ef668af0f28341 (diff)
downloadscala-abfa957a54610bc2c9f14a17986de63738cb48f5.tar.gz
scala-abfa957a54610bc2c9f14a17986de63738cb48f5.tar.bz2
scala-abfa957a54610bc2c9f14a17986de63738cb48f5.zip
Made 'def clone()' consistent with parens everywhere.
For the reference of others, ack --files-with-matches 'def clone[:\s]' src is how you might find out who needs fixing.
Diffstat (limited to 'src/library/scala/collection/mutable/OpenHashMap.scala')
-rw-r--r--src/library/scala/collection/mutable/OpenHashMap.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/OpenHashMap.scala b/src/library/scala/collection/mutable/OpenHashMap.scala
index 2634deb819..c33a7a906e 100644
--- a/src/library/scala/collection/mutable/OpenHashMap.scala
+++ b/src/library/scala/collection/mutable/OpenHashMap.scala
@@ -195,7 +195,7 @@ extends AbstractMap[Key, Value]
}
}
- override def clone = {
+ override def clone() = {
val it = new OpenHashMap[Key, Value]
foreachUndeletedEntry(entry => it.put(entry.key, entry.hash, entry.value.get));
it