< prev index next >
src/com/sun/interview/Interview.java
Print this page
rev 152 : 7902253: Remove unnecessary array creation for varargs parameters
7902245: Correct Agent.productVersion
Reviewed-by: jjg
*** 80,90 ****
* @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}
*/
public 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.
--- 80,90 ----
* @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}
*/
public 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 >