mirror of https://github.com/sbt/sbt.git
Remove unnecessary code (#8843)
This commit is contained in:
parent
2d18eadd2c
commit
fb32f78cdb
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue