Replace deprecated join with joinToString

This commit is contained in:
Ilya Gorbunov
2015-10-30 16:50:27 +03:00
parent 183523cf24
commit f3ff2e2e76
31 changed files with 54 additions and 59 deletions
@@ -17,4 +17,4 @@
package org.jetbrains.kotlin.utils
// Needed for Java interop: otherwise you need to specify all the optional parameters to join, i.e. prefix, postfix, limit, truncated
fun Iterable<Any>.join(separator: String) = joinToString(separator)
fun join(collection: Iterable<Any>, separator: String) = collection.joinToString(separator)