From a231e9a11ec7bde003846d8143033229aca2e6a4 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 7 Aug 2016 12:57:24 +0200 Subject: [PATCH] No longer have templateType around + Gender.UNKNOWN is long time gone. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../contact/JobsAdminContactWebRequestBean.java | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java index 1109322a..ea6ad966 100644 --- a/src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java @@ -41,6 +41,7 @@ import org.mxchange.jcontacts.events.contact.update.AdminUpdatedContactEvent; import org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException; import org.mxchange.jcountry.data.Country; import org.mxchange.jjobs.beans.BaseJobsController; +import org.mxchange.jjobs.beans.helper.JobsWebRequestController; import org.mxchange.jphone.phonenumbers.DialableNumber; import org.mxchange.jphone.phonenumbers.cellphone.CellphoneNumber; import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; @@ -49,7 +50,6 @@ import org.mxchange.jphone.phonenumbers.fax.FaxNumber; import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; import org.mxchange.jphone.phonenumbers.landline.LandLineNumber; import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; -import org.mxchange.jjobs.beans.helper.JobsWebRequestController; /** * An administrative user bean (controller) @@ -536,17 +536,6 @@ public class JobsAdminContactWebRequestBean extends BaseJobsController implement this.contactId = contactId; } - @Override - public String getControllerType () { - return "admin"; //NOI18N - } - - @Override - @Deprecated - public void setControllerType (final String controllerType) { - throw new UnsupportedOperationException("Setting controller type is not supported."); //NOI18N - } - @Override public Country getCountry () { return this.country; @@ -730,7 +719,7 @@ public class JobsAdminContactWebRequestBean extends BaseJobsController implement private void clear () { // Clear all data // - personal data - this.setGender(Gender.UNKNOWN); + this.setGender(null); this.setTitle(null); this.setFirstName(null); this.setFamilyName(null); -- 2.39.5