From e82c52d267b4910fec0ca97b05a50c9cf024236b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 11 Nov 2022 17:43:31 +0100 Subject: [PATCH] Please cherry-pick: - the above if() block is already stopping wrong invocations of this method --- .../beans/contact/AddressbookContactWebRequestBean.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/java/org/mxchange/addressbook/beans/contact/AddressbookContactWebRequestBean.java b/src/java/org/mxchange/addressbook/beans/contact/AddressbookContactWebRequestBean.java index eec15965..09940afd 100644 --- a/src/java/org/mxchange/addressbook/beans/contact/AddressbookContactWebRequestBean.java +++ b/src/java/org/mxchange/addressbook/beans/contact/AddressbookContactWebRequestBean.java @@ -484,14 +484,6 @@ public class AddressbookContactWebRequestBean extends BaseAddressbookBean implem throw new FaceletException(new IllegalArgumentException("Not all personal data is set, but createContactInstance() is called.")); //NOI18N } - // Required personal data must be set - assert (this.isRequiredPersonalDataSet()) : "not all personal data is set"; //NOI18N - - // Generate phone number - DialableLandLineNumber phone = new LandLineNumber(this.getLandLineCountry(), this.getLandLineAreaCode(), this.getLandLineNumber()); - DialableMobileNumber mobile = new MobileNumber(this.getMobileProvider(), this.getMobileNumber()); - DialableFaxNumber fax = new FaxNumber(this.getFaxCountry(), this.getFaxAreaCode(), this.getFaxNumber()); - // Create new contact final Contact contact = new UserContact( this.getPersonalTitle(), -- 2.39.5