// Trace message
this.loggerBeanLocal.logTrace(MessageFormat.format("getAsObject: context={0},component={1},submittedValue={2},this.countryController={3} - CALLED!", context, component, submittedValue, this.countryController)); //NOI18N
- // Get full list
- List<Country> countryList = this.countryController.allCountries();
-
// Is the value null or empty?
if ((null == submittedValue) || (submittedValue.trim().isEmpty())) {
// Trace message
return null;
}
+ // Get full list
+ List<Country> countryList = this.countryController.allCountries();
+
// Init value
Country country = null;
// Trace message
this.loggerBeanLocal.logTrace(MessageFormat.format("getAsObject: context={0},component={1},submittedValue={2} - CALLED!", context, component, submittedValue)); //NOI18N
- // Get full list
- List<SmsProvider> providerList = this.providerController.allSmsProvider();
-
// Is the value null or empty?
if ((null == submittedValue) || (submittedValue.trim().isEmpty())) {
// Trace message
return null;
}
+ // Get full list
+ List<SmsProvider> providerList = this.providerController.allSmsProvider();
+
// Init value
SmsProvider provider = null;