From 4eef110fc7a16fbe69da8a67cc3c4fdb1c219552 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Roland=20H=C3=A4der?= <roland@mxchange.org>
Date: Sat, 10 Jun 2017 15:38:03 +0200
Subject: [PATCH] gender was very incorrect, now I use "personal title" to mean
 Mr./Mrs.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Signed-off-by: Roland Häder <roland@mxchange.org>
---
 src/org/mxchange/jusercore/model/user/UserUtils.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/org/mxchange/jusercore/model/user/UserUtils.java b/src/org/mxchange/jusercore/model/user/UserUtils.java
index 4dac3a9..29ddf52 100644
--- a/src/org/mxchange/jusercore/model/user/UserUtils.java
+++ b/src/org/mxchange/jusercore/model/user/UserUtils.java
@@ -349,9 +349,9 @@ public class UserUtils implements Serializable {
 		} 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
 		}
 
 		// Init properties list
@@ -388,7 +388,7 @@ public class UserUtils implements Serializable {
 		properties.setProperty("userAccountStatus", user.getUserAccountStatus().toString()); //NOI18N
 
 		// - Contact data
-		properties.setProperty("contactGender", user.getUserContact().getContactGender().toString()); //NOI18N
+		properties.setProperty("contactPersonalTitle", user.getUserContact().getContactPersonalTitle().toString()); //NOI18N
 		if (user.getUserContact().getContactTitle() != null) {
 			properties.setProperty("contactTitle", user.getUserContact().getContactTitle()); //NOI18N
 		}
-- 
2.39.5