From: Roland Häder Date: Sun, 2 Oct 2022 13:59:08 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fdce5aca302cbe7628e198b9b743e7d92d9b7e4a;p=jfinancials-war.git Please cherry-pick: - don't copy fields from current (old data) to new instance (updated data) --- diff --git a/src/java/org/mxchange/jfinancials/beans/business/branchoffice/action/FinancialsAdminBranchOfficeActionWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/business/branchoffice/action/FinancialsAdminBranchOfficeActionWebRequestBean.java index 18aa19be..94a2eae5 100644 --- a/src/java/org/mxchange/jfinancials/beans/business/branchoffice/action/FinancialsAdminBranchOfficeActionWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/business/branchoffice/action/FinancialsAdminBranchOfficeActionWebRequestBean.java @@ -901,9 +901,6 @@ public class FinancialsAdminBranchOfficeActionWebRequestBean extends BaseFinanci return ""; //NOI18N } - // Copy all fields - BranchOffices.copyBranchOfficeData(this.getCurrentBranchOffice(), branchOffice); - // Initialize updated instance final BranchOffice updatedBranchOffice; diff --git a/src/java/org/mxchange/jfinancials/beans/business/department/action/FinancialsAdminDepartmentActionWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/business/department/action/FinancialsAdminDepartmentActionWebRequestBean.java index f144aa6b..d52a6869 100644 --- a/src/java/org/mxchange/jfinancials/beans/business/department/action/FinancialsAdminDepartmentActionWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/business/department/action/FinancialsAdminDepartmentActionWebRequestBean.java @@ -403,7 +403,6 @@ public class FinancialsAdminDepartmentActionWebRequestBean extends BaseFinancial department.setDepartmentBranchOffice(this.getDepartmentBranchOffice()); department.setDepartmentHeadquarter(this.getDepartmentHeadquarter()); department.setDepartmentId(this.getDepartmentId()); - System.out.println("this.departmentLead=" + this.getDepartmentLead()); department.setDepartmentLead(this.getDepartmentLead()); department.setDepartmentUserOwner(this.getDepartmentUserOwner());