This is the mail archive of the mauve-discuss@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ResourceBundle Mauve test.


Proposed fix: To add a (Locale) before both null appearances. As the
.diff attached.

What do you think about 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]