For example, in the LoginState the passwordError attribute is never assigned and used.
Same as the other Error attributes in other States.
So, we should delete all Error attributes, and create one new attribute that stores the error messages and pop out when propertyChange() is called if it's not null.
For example, in the
LoginState
thepasswordError
attribute is never assigned and used. Same as the otherError
attributes in otherStates
. So, we should delete allError
attributes, and create one new attribute that stores the error messages and pop out whenpropertyChange()
is called if it's notnull
.