From: David Daney <ddaney@avtrex.com>
To: Pedro Izecksohn <izecksohn@yahoo.com>
Cc: mauve-discuss@sources.redhat.com, classpath@gnu.org
Subject: Re: ResourceBundle Mauve test.
Date: Mon, 13 Feb 2006 07:53:00 -0000 [thread overview]
Message-ID: <43F03ACC.4020607@avtrex.com> (raw)
In-Reply-To: <20060213053025.1079.qmail@web50102.mail.yahoo.com>
Pedro Izecksohn wrote:
> Proposed fix: To add a (Locale) before both null appearances. As the
> .diff attached.
>
> What do you think about it?
>
I think it is correct. That is how I was going to recommend fixing it.
>
> ------------------------------------------------------------------------
>
> --- getBundle.java~ 2006-02-13 07:14:14.000000000 +0000
> +++ getBundle.java 2006-02-13 07:14:14.000000000 +0000
> @@ -174,7 +174,7 @@
>
> try
> {
> - ResourceBundle.getBundle (c ("Resource1"), null);
> + ResourceBundle.getBundle (c ("Resource1"), (Locale)null);
> harness.check (false);
> }
> catch (NullPointerException ex)
> @@ -184,7 +184,7 @@
>
> try
> {
> - ResourceBundle.getBundle ("no such resource", null);
> + ResourceBundle.getBundle ("no such resource", (Locale)null);
> harness.check (false);
> }
> catch (NullPointerException ex)
next prev parent reply other threads:[~2006-02-13 7:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-13 5:06 Pedro Izecksohn
2006-02-13 5:30 ` Pedro Izecksohn
2006-02-13 7:53 ` David Daney [this message]
2006-02-13 21:58 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43F03ACC.4020607@avtrex.com \
--to=ddaney@avtrex.com \
--cc=classpath@gnu.org \
--cc=izecksohn@yahoo.com \
--cc=mauve-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).