6675d7814c
* Add inspection to replace String.format with string templates #KT-14779 Fixed * KT-14779 Fixed
10 lines
158 B
Kotlin
Vendored
10 lines
158 B
Kotlin
Vendored
// RUNTIME_WITH_FULL_JDK
|
|
|
|
import java.lang.String.format
|
|
|
|
fun test() {
|
|
val foo = 1
|
|
val bar = 2
|
|
|
|
<caret>format("foo is %s, bar is %s.", foo, bar)
|
|
} |