mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-16 02:45:13 -04:00
resource location: speed up namespace validation even more
This commit is contained in:
parent
aed5185d98
commit
78de17c383
@ -21,7 +21,7 @@ object ResourceLocationUtil {
|
||||
if (!StaticConfiguration.VALIDATE_RESOURCE_LOCATION) {
|
||||
return
|
||||
}
|
||||
if (namespace.isBlank()) {
|
||||
if (namespace.isEmpty()) {
|
||||
throw IllegalArgumentException("Namespace is blank!")
|
||||
}
|
||||
for (code in namespace.codePoints()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user