Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

som-snytt
Copy link
Contributor

It's fine to use isEmpty as its implementation is trivial.

Avoided whitespace change (of the big code block which could be shifted left). (It looks nice refactored to a function so the case statements line up; maybe someone's editor collapses case bodies?)

@scala-jenkins scala-jenkins added this to the 2.12.18 milestone Dec 22, 2022
@som-snytt som-snytt marked this pull request as ready for review December 22, 2022 23:12
@@ -691,7 +691,7 @@ lazy val junit = project.in(file("test") / "junit")
(Test / forkOptions) := (Test / forkOptions).value.withWorkingDirectory((ThisBuild / baseDirectory).value),
(Test / testOnly / forkOptions) := (Test / testOnly / forkOptions).value.withWorkingDirectory((ThisBuild / baseDirectory).value),
libraryDependencies ++= Seq(junitDep, junitInterfaceDep, jolDep),
testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-v"),
testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-v", "-s"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lrytz lrytz merged commit a10823d into scala:2.12.x Dec 23, 2022
@som-snytt som-snytt deleted the tweak/12316 branch December 23, 2022 16:50
@SethTisue SethTisue added the library:collections PRs involving changes to the standard collection library label Dec 23, 2022
@SethTisue
Copy link
Member

fyi @scala/collections

hamzaremmal pushed a commit to hamzaremmal/scala3 that referenced this pull request May 2, 2025
Minor refactor in ListSet to foreground guards and add test
hamzaremmal pushed a commit to scala/scala3 that referenced this pull request May 7, 2025
Minor refactor in ListSet to foreground guards and add test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
library:collections PRs involving changes to the standard collection library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants