diff --git a/model/src/main/kotlin/LicenseFinding.kt b/model/src/main/kotlin/LicenseFinding.kt index edd4d2e91069d..282cb69b938f2 100644 --- a/model/src/main/kotlin/LicenseFinding.kt +++ b/model/src/main/kotlin/LicenseFinding.kt @@ -53,10 +53,7 @@ data class LicenseFinding( ) { companion object { val COMPARATOR = compareBy({ it.license.toString() }, { it.location }) - .thenByDescending { - it.score; - it.matchedText - } + .thenByDescending { it.score } } constructor(license: String, location: TextLocation, score: Float? = null, matchedText: String? = null) :