File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
modules/core/src/main/scala/org/scalasteward/core/repoconfig Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,6 @@ import org.scalasteward.core.update.FilterAlg.{
3232}
3333import org .scalasteward .core .util .Nel
3434
35- import scala .collection .mutable .ListBuffer
36-
3735final case class UpdatesConfig (
3836 pin : List [UpdatePattern ] = List .empty,
3937 allow : List [UpdatePattern ] = List .empty,
@@ -133,7 +131,7 @@ object UpdatesConfig {
133131 // remove duplicates first by calling .distinct
134132 val xm : Map [GroupId , List [UpdatePattern ]] = x.distinct.groupBy(_.groupId)
135133 val ym : Map [GroupId , List [UpdatePattern ]] = y.distinct.groupBy(_.groupId)
136- val builder = new ListBuffer [UpdatePattern ]()
134+ val builder = new collection.mutable. ListBuffer [UpdatePattern ]()
137135
138136 // first of all, we only allow intersection (superset)
139137 val keys = xm.keySet.intersect(ym.keySet)
@@ -156,7 +154,7 @@ object UpdatesConfig {
156154 case (_, true ) => x
157155 case _ =>
158156 // case with concrete artifacts / versions
159- val builder = new ListBuffer [UpdatePattern ]()
157+ val builder = new collection.mutable. ListBuffer [UpdatePattern ]()
160158 val xByArtifacts = x.groupBy(_.artifactId)
161159 val yByArtifacts = y.groupBy(_.artifactId)
162160
You can’t perform that action at this time.
0 commit comments