From 9c5c4616661cd38879560d7f20637bcdf2d32a88 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 10 Jun 2017 21:51:54 +0200 Subject: [PATCH] Please cherry-pick: - no gender, there is "personal title" for Mr./Mrs. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../org/mxchange/jusercore/model/user/PizzaUserSessionBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java index f433fb9..7ecce70 100644 --- a/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java @@ -627,7 +627,7 @@ public class PizzaUserSessionBean extends BasePizzaDatabaseBean implements UserS } 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 } else if (!this.ifUserExists(user)) { -- 2.39.5