[ajug-members] The method format(String, Object[]) in the type Formatter is not applicable for the arguments (String, String, int)
Christopher Fowler
cfowler at outpostsentinel.com
Sat Aug 11 14:10:51 EDT 2007
On Sat, 2007-08-11 at 12:53 -0400, Christopher Mawata wrote:
> You didn't have StringBuilder in 1.4 either ... I think the code you
> thought you compiled in 1.4 is not actually the code you compiled.
You are correct. The code sample I provided was from an example I found
on the Internet.
The code that I compiled in 1.4 that failed with 1.6 was:
String.format(%s%06d", prefix, i);
When I recompiled my code with 1.6 it failed and naturally I looked on
google. I found reference to Formatter and adapted my code to fit that
but that failed as well.
More information about the ajug-members
mailing list