You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/03/04 23:22:11 UTC
DO NOT REPLY [Bug 17650] -
Make Messages pay attention to returnNull setting on wrapped resources
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17650>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17650
Make Messages pay attention to returnNull setting on wrapped resources
------- Additional Comments From speterson@acornbay.com 2003-03-04 22:22 -------
Patch to fix this bug.
--- Messages.java 28 Dec 2002 23:29:48 -0000 1.2
+++ Messages.java 4 Mar 2003 22:16:54 -0000
@@ -374,7 +374,7 @@
} catch (ResourcesException e) {
;
}
- if (message == null) {
+ if (message == null && !resources.isReturnNull()) {
message = "???" + key + "???";
}
return (message);
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org