]> git.mxchange.org Git - jjobs-core.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 17:41:02 +0000 (19:41 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 19:17:10 +0000 (21:17 +0200)
- it is "personal title" for Mr./Mrs. now

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jjobs/database/BaseJobsDatabaseBean.java

index 50442544453ed0c6277f83b464ee63fd3b36e68e..6d60701987bf84b8675a8b7e53af94e14b043ca7 100644 (file)
@@ -485,9 +485,9 @@ public abstract class BaseJobsDatabaseBean extends BaseDatabaseBean {
                } else if (user.getUserContact().getContactId() < 1) {
                        // Invalid id
                        throw new IllegalArgumentException(MessageFormat.format("user.userContact.contactId={0} is invalid", user.getUserContact().getContactId())); //NOI18N
-               } else if (user.getUserContact().getContactGender() == null) {
+               } else if (user.getUserContact().getContactPersonalTitle() == null) {
                        // Throw NPE again
-                       throw new NullPointerException("user.userContact.contactGender is null"); //NOI18N
+                       throw new NullPointerException("user.userContact.contactPersonalTitle is null"); //NOI18N
                }
 
                // Prepare mail wrapper