svn commit: r1300815 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1300815 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java

hansbak-2
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;
     }