mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-08 23:54:39 +00:00
fix(embed): add type test to MagnifierFrame.equals for Sonar S2097
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ data class MagnifierFrame(
|
||||
val captureMs: Double,
|
||||
val requestStampNanos: Long,
|
||||
) {
|
||||
override fun equals(other: Any?) = this === other
|
||||
override fun equals(other: Any?) = other is MagnifierFrame && this === other
|
||||
|
||||
override fun hashCode() = System.identityHashCode(this)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user