Remove unused fallback symbols

This commit is contained in:
Mikołaj Pich 2020-02-29 22:12:28 +01:00
parent fa45c4431d
commit 91f97bebec
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA

View file

@ -87,7 +87,6 @@ class RegisterRepository(
.map { it.text().trim() }
.apply { logger.debug("$this") }
.filter { it.matches("[a-zA-Z0-9]*".toRegex()) } // early filter invalid symbols
.ifEmpty { listOf("opole", "gdansk", "tarnow", "rzeszow") } // fallback
.map { Pair(it, cert) }
)
}