mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 10:19:39 +02:00
Fix spotless error
This commit is contained in:
parent
b563e43c78
commit
7af4689bb7
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