[Commonizer] SetExtensions: isSubsetOf: Use == over identity check
^KT-47301
This commit is contained in:
committed by
Space
parent
ae57641456
commit
7535f142c0
@@ -6,7 +6,7 @@
|
||||
package org.jetbrains.kotlin.commonizer.utils
|
||||
|
||||
infix fun <T> Set<T>.isSubsetOf(other: Set<T>): Boolean {
|
||||
if (this === other) return true
|
||||
if (this == other) return true
|
||||
return other.containsAll(this)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user