]> git.mxchange.org Git - jjobs-war.git/commitdiff
No longer have templateType around + Gender.UNKNOWN is long time gone.
authorRoland Haeder <roland@mxchange.org>
Sun, 7 Aug 2016 10:57:24 +0000 (12:57 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 7 Aug 2016 10:57:24 +0000 (12:57 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java

index 1109322a2fcdb0fa4f522a358f7e4fcfff075d2e..ea6ad9664b990d3593b53259cfb0edd2c33814a4 100644 (file)
@@ -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);