You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2007/10/05 08:10:33 UTC
svn commit: r582088 -
/ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/collections/ResourceBundleMapWrapper.java
Author: jleroux
Date: Thu Oct 4 23:10:32 2007
New Revision: 582088
URL: http://svn.apache.org/viewvc?rev=582088&view=rev
Log:
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
}