Hi all,
A quick question.
I am getting a number of warnings while building with JDK 1.5 pe code snippet below
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
return MessageFormat.format(message, new
String[] {argument});
I did attempt changing this new String to new Object however this breaks my code.
Is is safe to leave these warnings in there or should I be doing something after changing it to new Object[]?
Thanks,
S