Files
openide/java/java-tests/testData/codeInsight/concatenationToMessageFormat/textblock.after.java
Bas Leijdekkers 9cfda82b22 Java: correctly escape for text block (IDEA-331523)
in Replace concatenation with formatted output" intention"

GitOrigin-RevId: b3e57b2cc62bbbcdca3fe357d8a6896837ca3f73
2023-09-05 11:15:51 +00:00

11 lines
217 B
Java

class C {
void x(int a, int b) {
//keep me
String s = java.text.MessageFormat.format("""
the text\s
block
\\line2
{0}{1} "to" be""", a, b);
}
}