From: Roland Häder Date: Sat, 18 Apr 2020 13:43:16 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=af290f7cdead5f6adbce69d719adf575bb5346b2;p=jfinancials-core.git Continued: - renamed copyAll() to copyFooData() 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 e6799e5..08e6225 100644 --- a/src/org/mxchange/jfinancials/model/income/FinancialIncome.java +++ b/src/org/mxchange/jfinancials/model/income/FinancialIncome.java @@ -131,7 +131,7 @@ public class FinancialIncome implements BillableIncome { * @param incomeUser Connected user */ public FinancialIncome (final String incomeTitle, final BigDecimal incomeSingleAmount, final FinancialInterval incomeInterval, final User incomeUser) { - // Call default constructor + // Invoke default constructor this(); // Set all fields diff --git a/src/org/mxchange/jfinancials/model/receipt/Receipts.java b/src/org/mxchange/jfinancials/model/receipt/Receipts.java index f5adc06..32b1c86 100644 --- a/src/org/mxchange/jfinancials/model/receipt/Receipts.java +++ b/src/org/mxchange/jfinancials/model/receipt/Receipts.java @@ -64,7 +64,7 @@ public class Receipts implements Serializable { * @param sourceReceipt Source receipt instance * @param targetReceipt Target Receipt instance */ - public static void copyAll (final BillableReceipt sourceReceipt, final BillableReceipt targetReceipt) { + public static void copyReceiptData (final BillableReceipt sourceReceipt, final BillableReceipt targetReceipt) { // Both should not be null if (null == sourceReceipt) { // Throw NPE