6647615: Sample code in ListResourceBundle is not correct and causes a compile error.
Reviewed-by: peytoia
--- a/jdk/src/share/classes/java/util/ListResourceBundle.java Wed Dec 08 18:05:30 2010 +0900
+++ b/jdk/src/share/classes/java/util/ListResourceBundle.java Wed Dec 08 15:15:45 2010 -0800
@@ -72,7 +72,7 @@
*
* public class MyResources extends ListResourceBundle {
* protected Object[][] getContents() {
- * return new Object[][] = {
+ * return new Object[][] {
* // LOCALIZE THIS
* {"s1", "The disk \"{1}\" contains {0}."}, // MessageFormat pattern
* {"s2", "1"}, // location of {0} in pattern