Skip to content

Commit 3373602

Browse files
Marek WiewiórkaMarek Wiewiórka
Marek Wiewiórka
authored and
Marek Wiewiórka
committed
Refactor IntMap for class duplication issues
1 parent 01f80da commit 3373602

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/org/biodatageeks/sequila/utils/IntMap.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ object IntMap {
470470
*
471471
* This builder can be reused to create multiple instances.
472472
*/
473-
final class IntMapBuilder[V] extends ReusableBuilder[(Int, V), IntMap[V]] {
473+
final class IntMapBuilder[V] extends ReusableMapBuilder[(Int, V), IntMap[V]] {
474474
private[collection] var elems: IntMap[V] = new IntMap[V]
475475
def +=(entry: (Int, V)): this.type = {
476476
elems += entry
@@ -521,7 +521,7 @@ object IntMap {
521521
}
522522
}
523523

524-
trait ReusableBuilder[-Elem, +To] extends mutable.Builder[Elem, To] {
524+
trait ReusableMapBuilder[-Elem, +To] extends mutable.Builder[Elem, To] {
525525
/** Clears the contents of this builder.
526526
* After execution of this method, the builder will contain no elements.
527527
*

0 commit comments

Comments
 (0)