mirror of
https://github.com/gotson/komga.git
synced 2026-04-30 19:04:57 +02:00
refactor: make property private
This commit is contained in:
parent
d449ef1a43
commit
9c0905ef91
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ class BCP47Validator : ConstraintValidator<BCP47, String> {
|
|||
}
|
||||
|
||||
object BCP47TagValidator {
|
||||
val languages by lazy { ULocale.getISOLanguages().toSet() }
|
||||
private val languages by lazy { ULocale.getISOLanguages().toSet() }
|
||||
|
||||
fun isValid(value: String): Boolean {
|
||||
return ULocale.forLanguageTag(value).let {
|
||||
|
|
|
|||
Loading…
Reference in a new issue