JVM: remove unnecessary check in StrictBasicValue.equals
Types are already checked for equality several lines below.
This commit is contained in:
committed by
Space Team
parent
12bbdebed2
commit
dc2deea04c
-1
@@ -53,7 +53,6 @@ open class StrictBasicValue(type: Type?) : BasicValue(type) {
|
|||||||
override fun equals(other: Any?): Boolean {
|
override fun equals(other: Any?): Boolean {
|
||||||
if (this === other) return true
|
if (this === other) return true
|
||||||
if (other == null || other::class.java != this::class.java) return false
|
if (other == null || other::class.java != this::class.java) return false
|
||||||
if (!super.equals(other)) return false
|
|
||||||
|
|
||||||
other as StrictBasicValue
|
other as StrictBasicValue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user