Remove unnecessary code (#8843)

This commit is contained in:
kenji yoshida 2026-03-01 16:57:54 +09:00 committed by GitHub
parent 2d18eadd2c
commit fb32f78cdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 3 deletions

View File

@ -237,7 +237,6 @@ object EscHelpers {
index += 1
limit = math.max(limit, index)
}
(res, limit)
new String(res, 0, limit)
}

View File

@ -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
}
}