< prev index next >
src/share/classes/com/sun/tools/example/debug/tty/TTYResources.java
Print this page
rev 1506 : 6959252: convert the anonymous arrays to named arrays in Java List Resource files
Reviewed-by: katakai, psun
@@ -43,11 +43,11 @@
* <p>
*
* @return the contents of this <code>ResourceBundle</code>.
*/
public Object[][] getContents() {
- return new Object[][] {
+ Object[][] temp = new Object[][] {
// NOTE: The value strings in this file containing "{0}" are
// processed by the java.text.MessageFormat class. Any
// single quotes appearing in these strings need to be
// doubled up.
//
@@ -447,7 +447,9 @@
"<arguments> are the arguments passed to the main() method of <class>\n" +
"\n" +
"For command help type ''help'' at {0} prompt"},
// END OF MATERIAL TO LOCALIZE
};
+
+ return temp;
}
}
< prev index next >