From: Roland Häder Date: Mon, 4 Sep 2023 06:43:57 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6fda87dd7ddb56d9e4f7b371e5afd7fea6358752;p=jfinancials-war.git Please cherry-pick: - Mr. or Mrs. is a personal title, not a gender or sex --- diff --git a/src/java/org/mxchange/jfinancials/beans/contact/FinancialsAdminContactWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/contact/FinancialsAdminContactWebRequestBean.java index 32011a4e..b025b885 100644 --- a/src/java/org/mxchange/jfinancials/beans/contact/FinancialsAdminContactWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/contact/FinancialsAdminContactWebRequestBean.java @@ -1127,7 +1127,7 @@ public class FinancialsAdminContactWebRequestBean extends BaseFinancialsBean imp public void validateContactData () { if (this.getPersonalTitle() == null) { // Throw NPE again - throw new NullPointerException("contactController.gender is null"); //NOI18N + throw new NullPointerException("contactController.personalTitle is null"); //NOI18N } else if (this.getFirstName() == null) { // ... and again throw new NullPointerException("contactController.firstName is null"); //NOI18N diff --git a/src/java/org/mxchange/jfinancials/beans/user/FinancialsAdminUserWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/user/FinancialsAdminUserWebRequestBean.java index 24f7159b..068b2822 100644 --- a/src/java/org/mxchange/jfinancials/beans/user/FinancialsAdminUserWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/user/FinancialsAdminUserWebRequestBean.java @@ -228,7 +228,7 @@ public class FinancialsAdminUserWebRequestBean extends BaseFinancialsBean implem // Is empty throw new IllegalArgumentException("userName is null"); //NOI18N } else if (this.getContact() == null) { - // No contact instance set, so test required fields: gender, first name and family name + // No contact instance set, so test required fields: personal title, first name and family name this.adminContactController.validateContactData(); }