< prev index next >
src/com/sun/interview/WizEdit.java
Print this page
rev 152 : 7902253: Remove unnecessary array creation for varargs parameters
7902245: Correct Agent.productVersion
Reviewed-by: jjg
*** 67,77 ****
* @param s The key for the detail message.
* @param o An argument to be formatted with the detail message by
* {@link java.text.MessageFormat#format}
*/
BadArgs(ResourceBundle i18n, String s, Object o) {
! super(MessageFormat.format(i18n.getString(s), new Object[] {o}));
}
/**
* Create a BadArgs exception.
--- 67,77 ----
* @param s The key for the detail message.
* @param o An argument to be formatted with the detail message by
* {@link java.text.MessageFormat#format}
*/
BadArgs(ResourceBundle i18n, String s, Object o) {
! super(MessageFormat.format(i18n.getString(s), o));
}
/**
* Create a BadArgs exception.
*** 106,116 ****
* @param s The key for the detail message.
* @param o An argument to be formatted with the detail message by
* {@link java.text.MessageFormat#format}
*/
Fault(ResourceBundle i18n, String s, Object o) {
! super(MessageFormat.format(i18n.getString(s), new Object[] {o}));
}
/**
* Create a Fault.
* @param i18n A resource bundle in which to find the detail message.
--- 106,116 ----
* @param s The key for the detail message.
* @param o An argument to be formatted with the detail message by
* {@link java.text.MessageFormat#format}
*/
Fault(ResourceBundle i18n, String s, Object o) {
! super(MessageFormat.format(i18n.getString(s), o));
}
/**
* Create a Fault.
* @param i18n A resource bundle in which to find the detail message.
< prev index next >