Generate equals/hashCode(): Swap class literals in comparison
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ class A {
|
||||
|
||||
<caret>override fun equals(other: Any?): Boolean {
|
||||
if (this === other) return true
|
||||
if (other == null || other::class != this::class) return false
|
||||
if (other == null || this::class != other::class) return false
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user