Author: jleroux
Date: Thu Oct 4 23:10:32 2007
New Revision: 582088
URL:
http://svn.apache.org/viewvc?rev=582088&view=revLog:
Applied fix from trunk for revision: 581979
Modified:
ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/collections/ResourceBundleMapWrapper.java
Modified: ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/collections/ResourceBundleMapWrapper.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/collections/ResourceBundleMapWrapper.java?rev=582088&r1=582087&r2=582088&view=diff==============================================================================
--- ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/collections/ResourceBundleMapWrapper.java (original)
+++ ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/collections/ResourceBundleMapWrapper.java Thu Oct 4 23:10:32 2007
@@ -181,6 +181,8 @@
if (this.resourceBundle.getObject((String) arg0) != null) {
return true;
}
+ } catch (NullPointerException e) {
+ // happens when arg0 is null
} catch (MissingResourceException e) {
// nope, not found... nothing, will automatically return false below
}