You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2012/03/15 07:15:23 UTC
svn commit: r1300815 -
/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java
Author: hansbak
Date: Thu Mar 15 06:15:22 2012
New Revision: 1300815
URL: http://svn.apache.org/viewvc?rev=1300815&view=rev
Log:
OFBIZ-4729: defaultValue in EntityUtilProperties.getPropertyValue(String resource, String name, String defaultValue, Delegator delegator) method is forgotten. contributed by Leon
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java?rev=1300815&r1=1300814&r2=1300815&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java Thu Mar 15 06:15:22 2012
@@ -84,7 +84,7 @@ public class EntityUtilProperties implem
public static String getPropertyValue(String resource, String name, String defaultValue, Delegator delegator) {
String value = getSystemPropertyValue(resource, name, delegator);
if (UtilValidate.isEmpty(value)) {
- value = UtilProperties.getPropertyValue(resource, name);
+ value = UtilProperties.getPropertyValue(resource, name, defaultValue);
}
return value;
}