Improved: UtilValidate isEmpty and isNotEmpty methods not used correctly
(OFBIZ-8413) Thanks Pawan Verma for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1766868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -618,7 +618,7 @@ public final class UtilHttp {
|
||||
}
|
||||
|
||||
// no user locale? before global default try appDefaultLocale if specified
|
||||
if (localeObject == null && !UtilValidate.isEmpty(appDefaultLocale)) {
|
||||
if (localeObject == null && UtilValidate.isNotEmpty(appDefaultLocale)) {
|
||||
localeObject = appDefaultLocale;
|
||||
}
|
||||
|
||||
@@ -747,7 +747,7 @@ public final class UtilHttp {
|
||||
}
|
||||
|
||||
// no user currency? before global default try appDefaultCurrencyUom if specified
|
||||
if (iso == null && !UtilValidate.isEmpty(appDefaultCurrencyUom)) {
|
||||
if (iso == null && UtilValidate.isNotEmpty(appDefaultCurrencyUom)) {
|
||||
iso = appDefaultCurrencyUom;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user