preserve comments: concatenation to message format

compose tests into one
This commit is contained in:
Anna.Kozlova
2017-11-22 19:42:59 +01:00
parent f1b3852730
commit 95a9e27bd8
5 changed files with 58 additions and 59 deletions
@@ -0,0 +1,11 @@
class Simple {
void f(String a, String b) {
//a before arg
//comment
//after literal
/*before arg*/
String s = java.text.MessageFormat.format("a:{0}b:{1}", a, b); //end comment
}
}