mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-25 04:17:59 +01:00
Sugar for the Fingerprint
This commit is contained in:
parent
48379a1c01
commit
7fa8489d43
1 changed files with 1 additions and 8 deletions
|
@ -13,14 +13,7 @@ class Fingerprint(fingerprint: String) {
|
|||
}
|
||||
|
||||
override fun equals(other: Any?): Boolean {
|
||||
if (other == null) {
|
||||
return false
|
||||
}
|
||||
return if (other is Fingerprint) {
|
||||
toString() == other.toString()
|
||||
} else {
|
||||
false
|
||||
}
|
||||
return other?.toString() == toString()
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
|
|
Loading…
Reference in a new issue