Skip to content

Commit d18b2ac

Browse files
Remove classId comparison for UtCompositeModel (#2193)
1 parent 4e9bac9 commit d18b2ac

File tree

1 file changed

+1
-4
lines changed
  • utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api

1 file changed

+1
-4
lines changed

utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api/Api.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -439,10 +439,7 @@ data class UtCompositeModel(
439439

440440
other as UtCompositeModel
441441

442-
if (id != other.id) return false
443-
if (classId != other.classId) return false
444-
445-
return true
442+
return id == other.id
446443
}
447444

448445
override fun hashCode(): Int {

0 commit comments

Comments
 (0)