return false;
}
- final User other = (User) object;
+ final User user = (User) object;
- if (!Objects.equals(this.getUserName(), other.getUserName())) {
+ if (!Objects.equals(this.getUserName(), user.getUserName())) {
return false;
- } else if (!Objects.equals(this.getUserConfirmKey(), other.getUserConfirmKey())) {
+ } else if (!Objects.equals(this.getUserConfirmKey(), user.getUserConfirmKey())) {
return false;
- } else if (!Objects.equals(this.getUserAccountStatus(), other.getUserAccountStatus())) {
+ } else if (!Objects.equals(this.getUserAccountStatus(), user.getUserAccountStatus())) {
return false;
- } else if (!Objects.equals(this.getUserContact(), other.getUserContact())) {
+ } else if (!Objects.equals(this.getUserContact(), user.getUserContact())) {
return false;
- } else if (!Objects.equals(this.getUserProfileMode(), other.getUserProfileMode())) {
+ } else if (!Objects.equals(this.getUserProfileMode(), user.getUserProfileMode())) {
return false;
}
* Constructor with password hash and user instance
* <p>
* @param userPasswordHistoryPasswordHash Password hash
- * @param userPasswordHistoryUser User instance
+ * @param userPasswordHistoryUser User instance
*/
public UserPasswordHistory (final String userPasswordHistoryPasswordHash, final User userPasswordHistoryUser) {
// Set all
return false;
}
- final PasswordHistory other = (PasswordHistory) object;
+ final PasswordHistory history = (PasswordHistory) object;
- if (!Objects.equals(this.getUserPasswordHistoryId(), other.getUserPasswordHistoryId())) {
+ if (!Objects.equals(this.getUserPasswordHistoryId(), history.getUserPasswordHistoryId())) {
return false;
- } else if (!Objects.equals(this.getUserPasswordHistoryPasswordHash(), other.getUserPasswordHistoryPasswordHash())) {
+ } else if (!Objects.equals(this.getUserPasswordHistoryPasswordHash(), history.getUserPasswordHistoryPasswordHash())) {
return false;
- } else if (!Objects.equals(this.getUserPasswordHistoryUser(), other.getUserPasswordHistoryUser())) {
+ } else if (!Objects.equals(this.getUserPasswordHistoryUser(), history.getUserPasswordHistoryUser())) {
return false;
}