diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-05-15 14:16:52 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-05-15 14:16:52 +0200 |
commit | 9f63b0e1362148d67715ae4458bd2ae3181c6464 (patch) | |
tree | c70a29fcd5057b06d5a97406eee1f2c73066e89f /src/dotty/tools/dotc/util/HashSet.scala | |
parent | d4e4e24fdf472031299fbb9a058a4ed1e28033cc (diff) | |
download | dotty-9f63b0e1362148d67715ae4458bd2ae3181c6464.tar.gz dotty-9f63b0e1362148d67715ae4458bd2ae3181c6464.tar.bz2 dotty-9f63b0e1362148d67715ae4458bd2ae3181c6464.zip |
Do not depend on scala.collection.generic.Clearable in dotty.
Makes bootstrap easier.
Diffstat (limited to 'src/dotty/tools/dotc/util/HashSet.scala')
-rw-r--r-- | src/dotty/tools/dotc/util/HashSet.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/util/HashSet.scala b/src/dotty/tools/dotc/util/HashSet.scala index 1c132378b..ff470ef5d 100644 --- a/src/dotty/tools/dotc/util/HashSet.scala +++ b/src/dotty/tools/dotc/util/HashSet.scala @@ -2,7 +2,7 @@ package dotty.tools.dotc.util /** A hash set that allows some privileged protected access to its internals */ -class HashSet[T >: Null <: AnyRef](initialCapacity: Int, loadFactor: Float = 0.25f) extends Set[T] with scala.collection.generic.Clearable { +class HashSet[T >: Null <: AnyRef](initialCapacity: Int, loadFactor: Float = 0.25f) extends Set[T] { private var used: Int = _ private var limit: Int = _ private var table: Array[AnyRef] = _ |