Author: jonesde
Date: Mon Apr 7 08:22:44 2008
New Revision: 645562
URL:
http://svn.apache.org/viewvc?rev=645562&view=revLog:
Realized method name was bad for properties resource not found method, improved
Modified:
ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java
Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java?rev=645562&r1=645561&r2=645562&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java Mon Apr 7 08:22:44 2008
@@ -648,7 +648,7 @@
return resourceName;
}
- public static boolean isPropertyNotFound(String resource, Locale locale, boolean removeExtension) {
+ public static boolean isPropertiesResourceNotFound(String resource, Locale locale, boolean removeExtension) {
return propertiesNotFound.contains(UtilProperties.createResourceName(resource, locale, removeExtension));
}
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java?rev=645562&r1=645561&r2=645562&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java Mon Apr 7 08:22:44 2008
@@ -723,7 +723,7 @@
return fieldValue;
}
}
- if (UtilProperties.isPropertyNotFound(resource, locale, false)) {
+ if (UtilProperties.isPropertiesResourceNotFound(resource, locale, false)) {
// Properties do not exist for this resource+locale combination
return fieldValue;
}