Skip to content

Commit

Permalink
[C++] Replace trivial String.format.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed Sep 29, 2023
1 parent c2fb2c4 commit 1aef658
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ private static CharSequence generateFileHeader(
sb.append("\n");
for (final String incName : typesToInclude)
{
sb.append(String.format("#include \"%1$s.h\"\n", toUpperFirstChar(incName)));
sb.append("#include \"").append(toUpperFirstChar(incName)).append(".h\"\n");
}
}

Expand Down

0 comments on commit 1aef658

Please sign in to comment.