mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 18:29:39 +02:00
Fix spotless error
This commit is contained in:
parent
bf02ca02b6
commit
39bd9d6acb
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ enum class HashAlgorithm(val algorithmId: Int, val algorithmName: String) {
|
|||
return name.uppercase().let { algoName ->
|
||||
// find value where it.algorithmName == ALGO-NAME
|
||||
values().firstOrNull { it.algorithmName == algoName }
|
||||
// else, find value where it.algorithmName == ALGONAME
|
||||
?: values().firstOrNull { it.algorithmName == algoName.replace("-", "") }
|
||||
// else, find value where it.algorithmName == ALGONAME
|
||||
?: values().firstOrNull { it.algorithmName == algoName.replace("-", "") }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue