void () { doTest("class Idempotent {" + " String x() {" + " return String./*_Replace 'String.format()' with concatenation*/format(\"%s.\", \"foo\");" + " }" + "}", "class Idempotent {" + " String x() {" + " return \"foo\" + \".\";" + " }" + "}"); }