[light classes] KtUltraLightParameterForSetterParameter: simplify equals
^KTIJ-21151
This commit is contained in:
+1
-2
@@ -231,8 +231,7 @@ internal class KtUltraLightParameterForSetterParameter(
|
|||||||
override fun equals(other: Any?): Boolean = other === this ||
|
override fun equals(other: Any?): Boolean = other === this ||
|
||||||
other is KtUltraLightParameterForSetterParameter &&
|
other is KtUltraLightParameterForSetterParameter &&
|
||||||
other.name == this.name &&
|
other.name == this.name &&
|
||||||
other.property == this.property &&
|
other.property == this.property
|
||||||
other.containingDeclaration == this.containingDeclaration
|
|
||||||
|
|
||||||
override fun hashCode(): Int = name.hashCode()
|
override fun hashCode(): Int = name.hashCode()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user