Remove overload of joinToString with 5 parameters and it's usage from java code.

This commit is contained in:
Ilya Gorbunov
2015-05-12 13:35:05 +03:00
parent 7ffc1e13d9
commit 1fc5c39c22
3 changed files with 1 additions and 3 deletions
@@ -338,7 +338,6 @@ public fun ShortArray.joinToString(separator: String = ", ", prefix: String = ""
* If the collection could be huge, you can specify a non-negative value of [limit], in which case only the first [limit]
* elements will be appended, followed by the [truncated] string (which defaults to "...").
*/
kotlin.jvm.overloads
public fun <T> Iterable<T>.joinToString(separator: String = ", ", prefix: String = "", postfix: String = "", limit: Int = -1, truncated: String = "...", transform: ((T) -> String)? = null): String {
return joinTo(StringBuilder(), separator, prefix, postfix, limit, truncated, transform).toString()
}