Skip to content

Commit

Permalink
Do not use JDK-21 API
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz committed Jul 3, 2024
1 parent 5f8e78d commit 51291f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fun Project.allDependantProjects(): Set<Project> {
val out = LinkedHashSet<Project>()
val explored = LinkedHashSet<Project>()
while (toExplore.isNotEmpty()) {
val item = toExplore.removeLast()
val item = toExplore.removeAt(toExplore.size - 1)
if (item in explored) continue
val directDependencies = item.directDependantProjects()
explored += item
Expand Down

0 comments on commit 51291f4

Please sign in to comment.