From: Roland Häder Date: Sat, 9 May 2020 23:55:20 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8db63254a0e3e99da37a9093e9ad26f75b571718;p=jfinancials-core.git Continued: - renamed other to fooEntity Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jfinancials/model/income/FinancialIncome.java b/src/org/mxchange/jfinancials/model/income/FinancialIncome.java index d29806c..bebd788 100644 --- a/src/org/mxchange/jfinancials/model/income/FinancialIncome.java +++ b/src/org/mxchange/jfinancials/model/income/FinancialIncome.java @@ -214,19 +214,19 @@ public class FinancialIncome implements BillableIncome { return false; } - final BillableIncome other = (BillableIncome) object; + final BillableIncome income = (BillableIncome) object; - if (!Objects.equals(this.getIncomeEnabled(), other.getIncomeEnabled())) { + if (!Objects.equals(this.getIncomeEnabled(), income.getIncomeEnabled())) { return false; - } else if (!Objects.equals(this.getIncomeId(), other.getIncomeId())) { + } else if (!Objects.equals(this.getIncomeId(), income.getIncomeId())) { return false; - } else if (!Objects.equals(this.getIncomeInterval(), other.getIncomeInterval())) { + } else if (!Objects.equals(this.getIncomeInterval(), income.getIncomeInterval())) { return false; - } else if (!Objects.equals(this.getIncomeSingleAmount(), other.getIncomeSingleAmount())) { + } else if (!Objects.equals(this.getIncomeSingleAmount(), income.getIncomeSingleAmount())) { return false; - } else if (!Objects.equals(this.getIncomeTitle(), other.getIncomeTitle())) { + } else if (!Objects.equals(this.getIncomeTitle(), income.getIncomeTitle())) { return false; - } else if (!Objects.equals(this.getIncomeUser(), other.getIncomeUser())) { + } else if (!Objects.equals(this.getIncomeUser(), income.getIncomeUser())) { return false; }