Files
kotlin-fork/idea/testData/inspectionsLocal/replaceStringFormatWithLiteral/javaStringFormat2.kt.after
T
Toshiaki Kameyama 6675d7814c KT-14779 Inspection to replace String.format with string templates (#1645)
* Add inspection to replace String.format with string templates #KT-14779 Fixed

* KT-14779 Fixed
2018-06-20 16:23:04 +03:00

10 lines
137 B
Plaintext
Vendored

// RUNTIME_WITH_FULL_JDK
import java.lang.String.format
fun test() {
val foo = 1
val bar = 2
"foo is $foo, bar is $bar."
}