Propose convert to string template as inspection more frequent

This commit is contained in:
Simon Ogorodnik
2018-02-22 15:10:47 +03:00
committed by Stanislav Erokhin
parent 4c15642e2c
commit 57e47d1830
11 changed files with 60 additions and 30 deletions
@@ -89,7 +89,7 @@ internal class A {
val limit = 5
useSplit(s.split("\\s+".toRegex(), limit.coerceAtLeast(0)).toTypedArray())
s.trim { it <= ' ' }
s + " another"
"$s another"
s.toByteArray()
s.toByteArray(Charset.forName("utf-8"))