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=adaa95eb2a6697f2b333c27b34f110ef100e15ba;p=jfinancials-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/jfinancials/converter/business/basicdata/FinancialsBusinessContactConverter.java b/src/java/org/mxchange/jfinancials/converter/business/basicdata/FinancialsBusinessContactConverter.java index cec53b34..0d40d3cc 100644 --- a/src/java/org/mxchange/jfinancials/converter/business/basicdata/FinancialsBusinessContactConverter.java +++ b/src/java/org/mxchange/jfinancials/converter/business/basicdata/FinancialsBusinessContactConverter.java @@ -43,12 +43,6 @@ public class FinancialsBusinessContactConverter implements Converter { */ private static CompanyEmployeeSessionBeanRemote COMPANY_EMPLOYEE_BEAN; - /** - * Default constructor - */ - public FinancialsCompanyEmployeeConverter () { - } - @Override public Employee getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) { // Is the instance there? diff --git a/src/java/org/mxchange/jfinancials/converter/business/headquarters/FinancialsCompanyHeadquartersConverter.java b/src/java/org/mxchange/jfinancials/converter/business/headquarters/FinancialsCompanyHeadquartersConverter.java index a5e95756..f61e8df8 100644 --- a/src/java/org/mxchange/jfinancials/converter/business/headquarters/FinancialsCompanyHeadquartersConverter.java +++ b/src/java/org/mxchange/jfinancials/converter/business/headquarters/FinancialsCompanyHeadquartersConverter.java @@ -43,12 +43,6 @@ public class FinancialsCompanyHeadquartersConverter implements Converter { */ private static ContactSessionBeanRemote CONTACT_BEAN; - /** - * Default constructor - */ - public FinancialsContactConverter () { - } - @Override public Contact getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) { // Is the instance there? diff --git a/src/java/org/mxchange/jfinancials/converter/country/FinancialsCountryConverter.java b/src/java/org/mxchange/jfinancials/converter/country/FinancialsCountryConverter.java index 953527bf..af1eb521 100644 --- a/src/java/org/mxchange/jfinancials/converter/country/FinancialsCountryConverter.java +++ b/src/java/org/mxchange/jfinancials/converter/country/FinancialsCountryConverter.java @@ -44,12 +44,6 @@ public class FinancialsCountryConverter implements Converter { */ private static CountrySingletonBeanRemote COUNTRY_BEAN; - /** - * Default constructor - */ - public FinancialsCountryConverter () { - } - @Override public Country getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) { // Is the instance there? diff --git a/src/java/org/mxchange/jfinancials/converter/fax/FinancialsFaxNumberConverter.java b/src/java/org/mxchange/jfinancials/converter/fax/FinancialsFaxNumberConverter.java index 64da2231..9d18d314 100644 --- a/src/java/org/mxchange/jfinancials/converter/fax/FinancialsFaxNumberConverter.java +++ b/src/java/org/mxchange/jfinancials/converter/fax/FinancialsFaxNumberConverter.java @@ -43,12 +43,6 @@ public class FinancialsFaxNumberConverter 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/jfinancials/converter/user/FinancialsUserConverter.java b/src/java/org/mxchange/jfinancials/converter/user/FinancialsUserConverter.java index ac63fe6d..890056a4 100644 --- a/src/java/org/mxchange/jfinancials/converter/user/FinancialsUserConverter.java +++ b/src/java/org/mxchange/jfinancials/converter/user/FinancialsUserConverter.java @@ -42,12 +42,6 @@ public class FinancialsUserConverter implements Converter { */ private static UserSessionBeanRemote USER_BEAN; - /** - * Default constructor - */ - public FinancialsUserConverter () { - } - @Override public User getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) { // Is the instance there? diff --git a/src/java/org/mxchange/jfinancials/validator/birthday/FinancialsBirthdayValidator.java b/src/java/org/mxchange/jfinancials/validator/birthday/FinancialsBirthdayValidator.java index 14b69664..c6d9e878 100644 --- a/src/java/org/mxchange/jfinancials/validator/birthday/FinancialsBirthdayValidator.java +++ b/src/java/org/mxchange/jfinancials/validator/birthday/FinancialsBirthdayValidator.java @@ -36,12 +36,6 @@ public class FinancialsBirthdayValidator extends BaseDateValidator { */ private static final long serialVersionUID = 28_735_756_819_460L; - /** - * Default constructor - */ - public FinancialsBirthdayValidator () { - } - @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/jfinancials/validator/emailaddress/FinancialsEmailAddressValidator.java b/src/java/org/mxchange/jfinancials/validator/emailaddress/FinancialsEmailAddressValidator.java index e9a0a2ae..59afe558 100644 --- a/src/java/org/mxchange/jfinancials/validator/emailaddress/FinancialsEmailAddressValidator.java +++ b/src/java/org/mxchange/jfinancials/validator/emailaddress/FinancialsEmailAddressValidator.java @@ -57,12 +57,6 @@ public class FinancialsEmailAddressValidator extends BaseStringValidator { */ private static final long serialVersionUID = 187_536_745_607_192L; - /** - * Default constructor - */ - public FinancialsEmailAddressValidator () { - } - @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/jfinancials/validator/url/FinancialsUrlValidator.java b/src/java/org/mxchange/jfinancials/validator/url/FinancialsUrlValidator.java index 8e367ff1..3ceefbe1 100644 --- a/src/java/org/mxchange/jfinancials/validator/url/FinancialsUrlValidator.java +++ b/src/java/org/mxchange/jfinancials/validator/url/FinancialsUrlValidator.java @@ -49,12 +49,6 @@ public class FinancialsUrlValidator extends BaseStringValidator { */ private static final long serialVersionUID = 187_536_745_607_193L; - /** - * Default constructor - */ - public FinancialsUrlValidator () { - } - @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/jfinancials/validator/user/FinancialsUserIdValidator.java b/src/java/org/mxchange/jfinancials/validator/user/FinancialsUserIdValidator.java index da0ccdab..94e5414e 100644 --- a/src/java/org/mxchange/jfinancials/validator/user/FinancialsUserIdValidator.java +++ b/src/java/org/mxchange/jfinancials/validator/user/FinancialsUserIdValidator.java @@ -46,12 +46,6 @@ public class FinancialsUserIdValidator extends BaseNumberValidator { */ private static final long serialVersionUID = 12_869_569_314_764_690L; - /** - * Default constructor - */ - public FinancialsUserIdValidator () { - } - @Override public void validate (final FacesContext context, final UIComponent component, final Object value) throws ValidatorException { // Is the instance there?