In my production code I noticed that the method java.lang.String#format
"eats" the first character of the String to be formatted when used without specifying the formatting parameters.
Thus
String.format("%%myStringValue\r\n");
produces the following console output:
%myStringValue
See, how one of the percent characters gets away? Why is it so? I couldn't find any hints on that in the docblock of the method.