summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-07-14 07:29:48 +0000
committermihaylov <mihaylov@epfl.ch>2006-07-14 07:29:48 +0000
commit701558d9241291c5afdb25f31d9b682c88cb39ec (patch)
tree4b92d73a5cb28c13d23b744a6179fe402d17d7a1
parent23e9172c9959ed754d56be6fd4b48e4c49fc5357 (diff)
downloadscala-701558d9241291c5afdb25f31d9b682c88cb39ec.tar.gz
scala-701558d9241291c5afdb25f31d9b682c88cb39ec.tar.bz2
scala-701558d9241291c5afdb25f31d9b682c88cb39ec.zip
Fixed bug contribution #167
-rw-r--r--src/library/scala/collection/mutable/HashSet.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/HashSet.scala b/src/library/scala/collection/mutable/HashSet.scala
index 5003899c20..7a1f892905 100644
--- a/src/library/scala/collection/mutable/HashSet.scala
+++ b/src/library/scala/collection/mutable/HashSet.scala
@@ -43,7 +43,7 @@ class HashSet[A] extends Set[A] with HashTable[A] {
protected def entryKey(e: Entry) = e;
- override def clone(): HashSet[A] = {
+ override def clone(): Set[A] = {
val res = new HashSet[A];
res ++= this;
res