]> git.mxchange.org Git - jfinancials-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:26:35 +0000 (21:26 +0200)
- it is "personal title" for Mr./Mrs. now

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

index 53710ccdf175d0d79cfa7a91dfb850f5c77246aa..6a62a4124c72f56b97e4e473c1986d657777384d 100644 (file)
@@ -502,9 +502,9 @@ public abstract class BaseFinancialsDatabaseBean 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