проверка identity
This commit is contained in:
parent
9da968695e
commit
3f4c34f5e3
@ -34,7 +34,7 @@ class SBPattern private constructor(
|
||||
}
|
||||
|
||||
override fun equals(other: Any?): Boolean {
|
||||
return other is SBPattern && other.raw == raw && other.names == names && other.pieces == pieces && other.params == params
|
||||
return other === this || other is SBPattern && other.raw == raw && other.names == names && other.pieces == pieces && other.params == params
|
||||
}
|
||||
|
||||
@Volatile
|
||||
|
Loading…
Reference in New Issue
Block a user