commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17650] - Make Messages pay attention to returnNull setting on wrapped resources
Date Tue, 04 Mar 2003 22:22:11 GMT
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


Mime
View raw message