Skip to content

Commit a6d676c

Browse files
committed
Use a stable order for the latest versions page
1 parent 0da2c37 commit a6d676c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/kotlin/org/openrewrite/RecipeOrigin.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ class RecipeOrigin(
103103
fun parse(text: String): Map<URI, RecipeOrigin> {
104104
return text.split(";").asSequence()
105105
.map(Companion::fromString)
106+
.sortedWith(compareBy({ it.groupId }, { it.artifactId }, { it.version }))
106107
.associateBy { it.jarLocation }
107108
}
108109
}

0 commit comments

Comments
 (0)