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:
Ashish Vijaywargiya
2014-12-17 10:49:41 +00:00
parent d3e50d1e18
commit f19b8bdfe7
40 changed files with 112 additions and 439 deletions
@@ -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);