From 45702eae0412eeeafa6ca89f14bbb8161adcb28e Mon Sep 17 00:00:00 2001 From: Friendseeker <66892505+Friendseeker@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:14:08 -0800 Subject: [PATCH] remove usage of blacklist --- .../src/main/scala/sbt/internal/inc/ScalaInstance.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/zinc-classpath/src/main/scala/sbt/internal/inc/ScalaInstance.scala b/internal/zinc-classpath/src/main/scala/sbt/internal/inc/ScalaInstance.scala index b28230152..5ff49a030 100644 --- a/internal/zinc-classpath/src/main/scala/sbt/internal/inc/ScalaInstance.scala +++ b/internal/zinc-classpath/src/main/scala/sbt/internal/inc/ScalaInstance.scala @@ -266,12 +266,12 @@ object ScalaInstance { /** Return all the required Scala jars from a path `scalaHome`. */ def allJars(scalaHome: File): Seq[File] = - IO.listFiles(scalaLib(scalaHome)).toIndexedSeq.filter(f => !blacklist(f.getName)) + IO.listFiles(scalaLib(scalaHome)).toIndexedSeq.filter(f => !excludeList(f.getName)) private[this] def scalaLib(scalaHome: File): File = new File(scalaHome, "lib") - private[this] val blacklist: Set[String] = Set( + private[this] val excludeList: Set[String] = Set( "scala-actors.jar", "scalacheck.jar", "scala-partest.jar",