Reverting r1646165. It seems that changes that we did for <property-to-field> are not needed. I will commit the new changes soon.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646191 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -88,19 +88,6 @@ public class EntityUtilProperties implements Serializable {
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
public static String getPropertyValue(String resource, String name, String defaultValue, Locale locale, Delegator delegator) {
|
||||
String value = getSystemPropertyValue(resource, name, delegator);
|
||||
if (UtilValidate.isEmpty(value)) {
|
||||
if (UtilValidate.isNotEmpty(locale)) {
|
||||
value = UtilProperties.getMessage(resource, name, locale);
|
||||
}
|
||||
if (UtilValidate.isEmpty(value)) {
|
||||
value = UtilProperties.getPropertyValue(resource, name, defaultValue);
|
||||
}
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
public static double getPropertyNumber(String resource, String name, double defaultValue) {
|
||||
return UtilProperties.getPropertyNumber(resource, name, defaultValue);
|
||||
|
||||
Reference in New Issue
Block a user