-
Notifications
You must be signed in to change notification settings - Fork 305
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
Fix Password
class to properly handle null
#655
Comments
@ctron don't you think we should not instantiate an null Password instead? |
What do you mean by that? If the password is |
I mean changing Kura checking is password is not null before creating a Password: |
This issue is stale because it has been open for 60 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
IMHO the Password class should be refactored as follows:
This would allow for easy null handling. Right now lots of places in Kura just pass "null" to the constructor, which may result in a NPE later on calling toString();
The text was updated successfully, but these errors were encountered: