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

make computePackageNameErrors more accurate #100

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kzvi
Copy link

@kzvi kzvi commented Jul 22, 2024

implements these aspects of what constitutes a valid Java package name:

  • package names can't include java reserved words as components
  • no component of a package name can start with a number
  • any component of a package name can start with an underscore
  • a package name is allowed to have only one component
  • no component of a package name may consist solely of an underscore

i made this change because i was having issues with the template generator not allowing legal package names (the added strictness about reserved words is not really necessary i guess but it can't hurt)

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.

1 participant