mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 12:34:11 +01:00
Add missing underscores
This commit is contained in:
parent
4bcc190b4e
commit
4953b0620c
@ -152,8 +152,8 @@ public class LayoutBuilderImpl implements LayoutBuilder {
|
||||
}
|
||||
|
||||
String lowerCaseName = name.toLowerCase(Locale.ROOT);
|
||||
if (lowerCaseName.startsWith("gl") || lowerCaseName.startsWith("flw")) {
|
||||
throw new IllegalStateException("Element at index " + i + " has invalid name '" + name + "'! Names must not start with 'gl' or 'flw' (case-insensitive).");
|
||||
if (lowerCaseName.startsWith("gl_") || lowerCaseName.startsWith("flw_")) {
|
||||
throw new IllegalStateException("Element at index " + i + " has invalid name '" + name + "'! Names must not start with 'gl_' or 'flw_' (case-insensitive).");
|
||||
}
|
||||
|
||||
if (name.length() > Layout.MAX_ELEMENT_NAME_LENGTH) {
|
||||
|
Loading…
Reference in New Issue
Block a user