Skip to content

Commit 94f0268

Browse files
committed
replace deprecated package
1 parent ad6bc24 commit 94f0268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/io/ClassPath.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ object ClassPath {
157157
catch { case _: MalformedURLException => None }
158158

159159
def manifests: List[java.net.URL] = {
160-
import scala.collection.JavaConverters._
160+
import scala.jdk.CollectionConverters.EnumerationHasAsScala
161161
val resources = Thread.currentThread().getContextClassLoader().getResources("META-INF/MANIFEST.MF")
162162
resources.asScala.filter(_.getProtocol == "jar").toList
163163
}

0 commit comments

Comments
 (0)