ResourceBundle Mauve test.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux