From c05a8c70802b2e60c76717bb24811ab7fbb4d6c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 10 May 2020 01:52:29 +0200 Subject: [PATCH] Continued: - renamed other to fooEntity MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/user/activity/UserActivityLog.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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; } -- 2.39.5