Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate injected tag identifiers #55

Merged
merged 2 commits into from
Jan 26, 2024

Conversation

serenibyss
Copy link
Member

Gives the user better feedback when their injected tag identifier names are not valid for Java. Previously this could cause some confusion for new users using buildscripts which abstract these field names into gradle properties, such as the GTNH shared buildscript or the 1.12 GT shared buildscript

@serenibyss serenibyss requested a review from eigenraven January 26, 2024 05:29
@Rongmario
Copy link
Contributor

Is there a reason why the first character is checked separately?

@eigenraven
Copy link
Member

@Rongmario digits are valid in the middle of Java identifiers, but not as the first character

@eigenraven eigenraven merged commit 53ae251 into master Jan 26, 2024
1 check passed
@eigenraven eigenraven deleted the sb-validate-tag-inject-idenfitiers branch January 26, 2024 09:02
@Rongmario
Copy link
Contributor

@Rongmario digits are valid in the middle of Java identifiers, but not as the first character

Didn't even notice the two different method calls :O

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants