Skip to content

Commit

Permalink
Merge pull request #1505 from Friendseeker/remove-blacklist-usage
Browse files Browse the repository at this point in the history
[1.x] Use inclusive language on internal terminology
  • Loading branch information
eed3si9n authored Nov 26, 2024
2 parents 3721683 + 45702ea commit 9a3af98
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9a3af98

Please sign in to comment.