override fun equals()

in plugin/jps/src/main/kotlin/com/jetbrains/packagesearch/plugin/maven/MavenDependencyModel.kt [16:28]


    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as MavenDependencyModel

        if (groupId != other.groupId) return false
        if (artifactId != other.artifactId) return false
        if (version != other.version) return false
        if (scope != other.scope) return false

        return true
    }