We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7edb85 commit 69f8c6eCopy full SHA for 69f8c6e
model/src/main/kotlin/AdvisorRecord.kt
@@ -127,7 +127,7 @@ data class AdvisorRecord(
127
* references. Other [Vulnerability] properties are taken from the first object which has any such property set.
128
*/
129
private fun Collection<Vulnerability>.mergeVulnerabilities(): List<Vulnerability> {
130
- val vulnerabilitiesById = groupByTo(sortedMapOf()) { it.id }
+ val vulnerabilitiesById = groupBy { it.id }
131
return vulnerabilitiesById.map { it.value.mergeReferences() }
132
}
133
0 commit comments