From 9c514ea3d83ff4f544b9ebf43a3268089a4f6fa4 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 --- .../pizzaaplication/database/BasePizzaDatabaseBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/mxchange/pizzaaplication/database/BasePizzaDatabaseBean.java b/src/org/mxchange/pizzaaplication/database/BasePizzaDatabaseBean.java index d872215..3879404 100644 --- a/src/org/mxchange/pizzaaplication/database/BasePizzaDatabaseBean.java +++ b/src/org/mxchange/pizzaaplication/database/BasePizzaDatabaseBean.java @@ -485,9 +485,9 @@ public abstract class BasePizzaDatabaseBean 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