From 77e78bf8c15e52dd5b2bcada6788926b0d177b62 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 10 Jun 2017 19:41:02 +0200 Subject: [PATCH] Please cherry-pick: - it is "personal title" for Mr./Mrs. now MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- src/org/mxchange/jjobs/database/BaseJobsDatabaseBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/mxchange/jjobs/database/BaseJobsDatabaseBean.java b/src/org/mxchange/jjobs/database/BaseJobsDatabaseBean.java index 5044254..6d60701 100644 --- a/src/org/mxchange/jjobs/database/BaseJobsDatabaseBean.java +++ b/src/org/mxchange/jjobs/database/BaseJobsDatabaseBean.java @@ -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 -- 2.39.5