Nico Klasens wrote:
> Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib
> In directory 
> james.mmbase.org:/tmp/cvs-serv10927/applications/taglib/src/org/mmbase/bridge/jsp/taglib
> 
> Modified Files:
>       ContextReferrerTag.java CloudTag.java 
> Log Message:
> When The ContextReferrerTag is the CLoudTag then return null for the default 
> locale otherwise return mmbase locale

But why?. It can break the on line 847:
    ResourceBundle bundle =     
ResourceBundle.getBundle("org.mmbase.bridge.jsp.taglib.resources.messages", 
getLocale());

ResourceBundle throws NPE if getLocale() would return null. So, it
should never do that.

I'll remove getDefaultLocale from CloudTag for now.

Michiel




-- 
Michiel Meeuwissen                  mihxil'
Peperbus 107 MediaPark H'sum          [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US



_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to