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

Add final to variables in immutable classes #1

Closed
menacher opened this issue May 14, 2012 · 2 comments
Closed

Add final to variables in immutable classes #1

menacher opened this issue May 14, 2012 · 2 comments
Milestone

Comments

@menacher
Copy link

AuthorizeMessage and other classes in this package look to be immutable. They do not have setter methods. Adding final to the class variables maybe a good practice. Even the class variables like String, UUID are immutable so this is optional, but can be done for consistency sake.

@mrniko
Copy link
Owner

mrniko commented May 14, 2012

Thanks for comment! I'll fix this.

@mrniko
Copy link
Owner

mrniko commented May 14, 2012

Fixed

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

No branches or pull requests

2 participants