From: Roland Häder Date: Sat, 9 May 2020 23:52:29 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c05a8c70802b2e60c76717bb24811ab7fbb4d6c8;p=juser-activity-core.git Continued: - renamed other to fooEntity Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jusercore/model/user/activity/UserActivityLog.java b/src/org/mxchange/jusercore/model/user/activity/UserActivityLog.java index 9e69866..da788d2 100644 --- a/src/org/mxchange/jusercore/model/user/activity/UserActivityLog.java +++ b/src/org/mxchange/jusercore/model/user/activity/UserActivityLog.java @@ -261,19 +261,19 @@ public class UserActivityLog implements LogableUserActivity { return false; } - final LogableUserActivity other = (LogableUserActivity) object; + final LogableUserActivity activity = (LogableUserActivity) object; - if (!Objects.equals(this.getActivityMessage(), other.getActivityMessage())) { + if (!Objects.equals(this.getActivityMessage(), activity.getActivityMessage())) { return false; - } else if (!Objects.equals(this.getActivityPrincipalName(), other.getActivityPrincipalName())) { + } else if (!Objects.equals(this.getActivityPrincipalName(), activity.getActivityPrincipalName())) { return false; - } else if (!Objects.equals(this.getActivityType(), other.getActivityType())) { + } else if (!Objects.equals(this.getActivityType(), activity.getActivityType())) { return false; - } else if (!Objects.equals(this.getActivityId(), other.getActivityId())) { + } else if (!Objects.equals(this.getActivityId(), activity.getActivityId())) { return false; - } else if (!Objects.equals(this.getActivityTimestamp(), other.getActivityTimestamp())) { + } else if (!Objects.equals(this.getActivityTimestamp(), activity.getActivityTimestamp())) { return false; - } else if (!Objects.equals(this.getActivityUser(), other.getActivityUser())) { + } else if (!Objects.equals(this.getActivityUser(), activity.getActivityUser())) { return false; }