94f00509e2
JET-77 Require a return type annotation for non-Unit returning functions with block bodies
10 lines
148 B
Plaintext
10 lines
148 B
Plaintext
import java.util.*
|
|
|
|
fun concat(l: List<String>): String? {
|
|
val sb = StringBuilder()
|
|
for(s in l) {
|
|
sb.append(s)
|
|
}
|
|
return sb.toString()
|
|
}
|