]> git.mxchange.org Git - jjobs-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Mon, 4 Sep 2023 06:43:57 +0000 (08:43 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 4 Sep 2023 06:46:03 +0000 (08:46 +0200)
- Mr. or Mrs. is a personal title, not a gender or sex

src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java
src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebRequestBean.java

index 4c5f84e04e1a1c6a31fd2c9227615e15f7258458..ab3076451adb810b7a4efab8982500fd3291395e 100644 (file)
@@ -1133,7 +1133,7 @@ public class JobsAdminContactWebRequestBean extends BaseJobsBean implements Jobs
        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
index f518bf8f05829df6153a861b8496cbea03f30505..e1f62b43ff434cf66d2c15793418afc58fca1071 100644 (file)
@@ -234,7 +234,7 @@ public class JobsAdminUserWebRequestBean extends BaseJobsBean implements JobsAdm
                        // 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();
                }