From fdce5aca302cbe7628e198b9b743e7d92d9b7e4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 2 Oct 2022 15:59:08 +0200 Subject: [PATCH] Please cherry-pick: - don't copy fields from current (old data) to new instance (updated data) --- .../FinancialsAdminBranchOfficeActionWebRequestBean.java | 3 --- .../action/FinancialsAdminDepartmentActionWebRequestBean.java | 1 - 2 files changed, 4 deletions(-) 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()); -- 2.39.5