mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 10:03:56 +02:00
Remove unnecessary code (#8843)
This commit is contained in:
@@ -237,7 +237,6 @@ object EscHelpers {
|
||||
index += 1
|
||||
limit = math.max(limit, index)
|
||||
}
|
||||
(res, limit)
|
||||
new String(res, 0, limit)
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
package sbt.internal.librarymanagement
|
||||
|
||||
import java.util.Collections.emptyMap
|
||||
import scala.collection.mutable.HashSet
|
||||
|
||||
import org.apache.ivy.core.module.descriptor.*
|
||||
import org.apache.ivy.core.module.id.{ ArtifactId, ModuleId, ModuleRevisionId }
|
||||
@@ -186,7 +185,6 @@ object IvyScalaUtil {
|
||||
if (configurations.isEmpty) names
|
||||
else {
|
||||
val configSet = configurationSet(configurations)
|
||||
configSet.intersect(HashSet(names*))
|
||||
configSet.toArray
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user