]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sun, 2 Oct 2022 13:59:08 +0000 (15:59 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 2 Oct 2022 13:59:08 +0000 (15:59 +0200)
- don't copy fields from current (old data) to new instance (updated data)

src/java/org/mxchange/jfinancials/beans/business/branchoffice/action/FinancialsAdminBranchOfficeActionWebRequestBean.java
src/java/org/mxchange/jfinancials/beans/business/department/action/FinancialsAdminDepartmentActionWebRequestBean.java

index 18aa19be9720f6d9156fd6fc4c03966370101c89..94a2eae5d17a80d4db2a5a83cde4b06b7838c27a 100644 (file)
@@ -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;
 
index f144aa6bf5837b286fdf9c7667e355c045815960..d52a686910d3e6602154181e027ab29c26299c52 100644 (file)
@@ -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());