From: Roland Häder Date: Sun, 3 Sep 2017 15:50:06 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7ae79da6482dcdc12e2cb34001ef4ae70273703c;p=addressbook-war.git Please cherry-pick: - removed not needed constructor from converter/validator - reverted `@EJB` annotation in mobile-provider converter as it was not working Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/addressbook/converter/business/basicdata/AddressbookBusinessContactConverter.java b/src/java/org/mxchange/addressbook/converter/business/basicdata/AddressbookBusinessContactConverter.java index 9e866c36..dcc32fd3 100644 --- a/src/java/org/mxchange/addressbook/converter/business/basicdata/AddressbookBusinessContactConverter.java +++ b/src/java/org/mxchange/addressbook/converter/business/basicdata/AddressbookBusinessContactConverter.java @@ -43,12 +43,6 @@ public class AddressbookBusinessContactConverter implements Converter */ private static CompanyEmployeeSessionBeanRemote COMPANY_EMPLOYEE_BEAN; - /** - * Default constructor - */ - public AddressbookCompanyEmployeeConverter () { - } - @Override public Employee getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) { // Is the instance there? diff --git a/src/java/org/mxchange/addressbook/converter/business/headquarters/AddressbookCompanyHeadquartersConverter.java b/src/java/org/mxchange/addressbook/converter/business/headquarters/AddressbookCompanyHeadquartersConverter.java index 4526fb85..23796ff5 100644 --- a/src/java/org/mxchange/addressbook/converter/business/headquarters/AddressbookCompanyHeadquartersConverter.java +++ b/src/java/org/mxchange/addressbook/converter/business/headquarters/AddressbookCompanyHeadquartersConverter.java @@ -43,12 +43,6 @@ public class AddressbookCompanyHeadquartersConverter implements Converter { */ private static ContactSessionBeanRemote CONTACT_BEAN; - /** - * Default constructor - */ - public AddressbookContactConverter () { - } - @Override public Contact getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) { // Is the instance there? diff --git a/src/java/org/mxchange/addressbook/converter/country/AddressbookCountryConverter.java b/src/java/org/mxchange/addressbook/converter/country/AddressbookCountryConverter.java index 15df38e1..0d489d51 100644 --- a/src/java/org/mxchange/addressbook/converter/country/AddressbookCountryConverter.java +++ b/src/java/org/mxchange/addressbook/converter/country/AddressbookCountryConverter.java @@ -44,12 +44,6 @@ public class AddressbookCountryConverter implements Converter { */ private static CountrySingletonBeanRemote COUNTRY_BEAN; - /** - * Default constructor - */ - public AddressbookCountryConverter () { - } - @Override public Country getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) { // Is the instance there? diff --git a/src/java/org/mxchange/addressbook/converter/fax/AddressbookFaxNumberConverter.java b/src/java/org/mxchange/addressbook/converter/fax/AddressbookFaxNumberConverter.java index c58556f9..3cc35cb4 100644 --- a/src/java/org/mxchange/addressbook/converter/fax/AddressbookFaxNumberConverter.java +++ b/src/java/org/mxchange/addressbook/converter/fax/AddressbookFaxNumberConverter.java @@ -43,12 +43,6 @@ public class AddressbookFaxNumberConverter implements Converter providerList = this.mobileProviderBean.allMobileProviders(); + List providerList = this.MOBILE_PROVIDER_BEAN.allMobileProviders(); // Init value MobileProvider provider = null; diff --git a/src/java/org/mxchange/addressbook/converter/user/AddressbookUserConverter.java b/src/java/org/mxchange/addressbook/converter/user/AddressbookUserConverter.java index f47729c3..56b9ba70 100644 --- a/src/java/org/mxchange/addressbook/converter/user/AddressbookUserConverter.java +++ b/src/java/org/mxchange/addressbook/converter/user/AddressbookUserConverter.java @@ -42,12 +42,6 @@ public class AddressbookUserConverter implements Converter { */ private static UserSessionBeanRemote USER_BEAN; - /** - * Default constructor - */ - public AddressbookUserConverter () { - } - @Override public User getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) { // Is the instance there? diff --git a/src/java/org/mxchange/addressbook/validator/birthday/AddressbookBirthdayValidator.java b/src/java/org/mxchange/addressbook/validator/birthday/AddressbookBirthdayValidator.java index ae26fc00..b68420fe 100644 --- a/src/java/org/mxchange/addressbook/validator/birthday/AddressbookBirthdayValidator.java +++ b/src/java/org/mxchange/addressbook/validator/birthday/AddressbookBirthdayValidator.java @@ -36,12 +36,6 @@ public class AddressbookBirthdayValidator extends BaseDateValidator { */ private static final long serialVersionUID = 28_735_756_819_460L; - /** - * Default constructor - */ - public AddressbookBirthdayValidator () { - } - @Override public void validate (final FacesContext context, final UIComponent component, final Object value) throws ValidatorException { // All accepted, required fields diff --git a/src/java/org/mxchange/addressbook/validator/emailaddress/AddressbookEmailAddressValidator.java b/src/java/org/mxchange/addressbook/validator/emailaddress/AddressbookEmailAddressValidator.java index f11e40a7..9b2b2780 100644 --- a/src/java/org/mxchange/addressbook/validator/emailaddress/AddressbookEmailAddressValidator.java +++ b/src/java/org/mxchange/addressbook/validator/emailaddress/AddressbookEmailAddressValidator.java @@ -57,12 +57,6 @@ public class AddressbookEmailAddressValidator extends BaseStringValidator { */ private static final long serialVersionUID = 187_536_745_607_192L; - /** - * Default constructor - */ - public AddressbookEmailAddressValidator () { - } - @Override public void validate (final FacesContext context, final UIComponent component, final Object value) throws ValidatorException { // Is the instance there? diff --git a/src/java/org/mxchange/addressbook/validator/url/AddressbookUrlValidator.java b/src/java/org/mxchange/addressbook/validator/url/AddressbookUrlValidator.java index 43b9daab..ac026649 100644 --- a/src/java/org/mxchange/addressbook/validator/url/AddressbookUrlValidator.java +++ b/src/java/org/mxchange/addressbook/validator/url/AddressbookUrlValidator.java @@ -49,12 +49,6 @@ public class AddressbookUrlValidator extends BaseStringValidator { */ private static final long serialVersionUID = 187_536_745_607_193L; - /** - * Default constructor - */ - public AddressbookUrlValidator () { - } - @Override public void validate (final FacesContext context, final UIComponent component, final Object value) throws ValidatorException { // The required field diff --git a/src/java/org/mxchange/addressbook/validator/user/AddressbookUserIdValidator.java b/src/java/org/mxchange/addressbook/validator/user/AddressbookUserIdValidator.java index 7c4aac1d..2ea1d717 100644 --- a/src/java/org/mxchange/addressbook/validator/user/AddressbookUserIdValidator.java +++ b/src/java/org/mxchange/addressbook/validator/user/AddressbookUserIdValidator.java @@ -46,12 +46,6 @@ public class AddressbookUserIdValidator extends BaseNumberValidator { */ private static final long serialVersionUID = 12_869_569_314_764_690L; - /** - * Default constructor - */ - public AddressbookUserIdValidator () { - } - @Override public void validate (final FacesContext context, final UIComponent component, final Object value) throws ValidatorException { // Is the instance there?